[users@httpd] a complex .htaccess redirect question

2012-09-17 Thread joydeep
Hello list, How can I append .html in-between a link ? For example http://www.mydomain.com/en/page?artId=1234 should redirected to http://www.mydomain.com/en/page.html?artId=1234 page1?artId=1234 needs to be redirected as page1.html?artId=1234 How can I achieve this through .htaccesss ? I

Re: [users@httpd] a complex .htaccess redirect question

2012-09-17 Thread Eric Covener
On Mon, Sep 17, 2012 at 6:36 AM, joyd...@infoservices.in wrote: Hello list, How can I append .html in-between a link ? For example http://www.mydomain.com/en/page?artId=1234 should redirected to http://www.mydomain.com/en/page.html?artId=1234 page1?artId=1234 needs to be redirected as

Re: [users@httpd] a complex .htaccess redirect question

2012-09-17 Thread joydeep
On Mon, 17 Sep 2012 06:40:05 -0400 Eric Covener cove...@gmail.com wrote: On Mon, Sep 17, 2012 at 6:36 AM, joyd...@infoservices.in wrote: Hello list, How can I append .html in-between a link ? For example http://www.mydomain.com/en/page?artId=1234 should redirected to

Re: [users@httpd] a complex .htaccess redirect question

2012-09-17 Thread Mathijs
If all you want is for http://www.mydomain.com/en/page?artId=1234 to be handled by page.html, then enabling MultiViews might be a much easier solution then bringing in the beast that is mod_rewrite. MultiViews basically extends the requested URI to possible matches (content negotiation), if the

Re: [users@httpd] a complex .htaccess redirect question

2012-09-17 Thread joydeep
On Mon, 17 Sep 2012 13:05:38 +0200 Mathijs mathijs...@gmail.com wrote: If all you want is for http://www.mydomain.com/en/page?artId=1234 to be handled by page.html, then enabling MultiViews might be a much easier solution then bringing in the beast that is mod_rewrite. I don't know if