Daily Archive: March 21, 2012

Query string in apache rewrite rule

Query string in apache rewrite rule

I got a task to rewrite an URL from apache server : http://site.foo.com/[Anything] into http://site.foo.com I implemented a rewrite rule like this to cater for above case : RewriteRule ^/(.*)$ http://site.foo.com [NC,L] However, this...