Re: [users@httpd] Rewrite inside Location directive

2011-04-03 Thread Jose Legido
On Sat, Apr 2, 2011 at 5:38 PM, Rich Bowen wrote: > > > > > > RewriteRule  ^/old(.*) http://%{HTTP_HOST}//new  [PT] > > > > By the way, there are much better ways to do this. Basically what you're > saying there is > Alias /old /path/to/new > > which would be more efficient Thanks for all respo

[users@httpd] Rewrite inside Location directive

2011-04-01 Thread Jose Legido
Hello I want to make a Rewrite into a Location directive, but looks at filesystem, I want to redirect: RewriteRule ^/old(.*) http://%{HTTP_HOST}//new [PT] Outside of Location works. Thanks! - The official User-To-User suppo