httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Legido <>
Subject Re: [users@httpd] Rewrite inside Location directive
Date Mon, 04 Apr 2011 02:07:31 GMT
On Sat, Apr 2, 2011 at 5:38 PM, Rich Bowen <> 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. -> goes to app without ask for personal certificate. -> ask certificate in Location and the
rewrite to ->

Thank you!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message