Hi Gael
 
You can specify a 'do not proxy' using the following
 
ProxyPass /oto/images !
 
Then the alias will be used instead.
 
Check out http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass for more info.
 
Regards
 
Niamh
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 13. Juli 2006 11:26
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Alias Directive on Apache 2.2


Hello,

It seems that reverse mappings have higher priority than aliases.

I have this setup:

Alias /oto/images /opt/myapp/oto/images

ProxyPass /oto http://my.host.com/oto
ProxyPassReverse /oto
http://my.host.com/oto

The alias is ignored, '/oto/images' is mapped to remote '
http://my.host.com/oto' instead of aliased local directory.

I am running Apache 2.2 on Linux, is there anything I can do to fix this?


Thanks,

Gael

Reply via email to