On Sat, Apr 2, 2011 at 5:38 PM, Rich Bowen <rbowen@xxxxxxxxxxx> wrote: > > > > <Location /old > > > RewriteRule ^/old(.*) http://%{HTTP_HOST}//new [PT] > > </Location> > > 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 responses. I have an application in path app. I want to have two differents ways ti access to this app, with a personal certificate and with personal certificate. I ask for certificate inside location (for ex. certificate) and then rewrite to app. If I make and alias, always goes to app without ask for certificate. Excuse me for my english, I don't know if I write this so good. http://server.com/app -> goes to app without ask for personal certificate. http://server.com/certificate -> ask certificate in Location and the rewrite to -> http://server.com/app Thank you! --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx