httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Legido <j...@legido.com>
Subject [users@httpd] Rewrite inside Location directive
Date Fri, 01 Apr 2011 18:28:59 GMT
Hello
I want to make a Rewrite into a Location directive, but looks at
filesystem, I want to redirect:

<Location /old >
RewriteRule  ^/old(.*) http://%{HTTP_HOST}//new  [PT]
</Location>

Outside of Location works.

Thanks!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message