ProxyPass and Alias
Hello,
It seems that reverse mappings have higher priority than aliases.
I have this setup:
Alias /home/help "c:/help"
ProxyPass /home http://my.host.com/
ProxyPassReverse /home http://my.host.com/
The alias is ignored, '/home/help' is mapped to remote
'http://my.host.com/help' instead of aliased local directory.
I am running Apache 1.3.29 on Windows, is there anything I can do to fix
this?
Thanks,
Gael
Re: ProxyPass and Alias
Gael Marziou wrote:
> It seems that reverse mappings have higher priority than aliases.
This is true.
> The alias is ignored, '/home/help' is mapped to remote
> 'http://my.host.com/help' instead of aliased local directory.
>
> I am running Apache 1.3.29 on Windows, is there anything I can do to fix
> this?
Apache v2 has an option to not reverse proxy parts of the URL space,
like so:
ProxyPass http://backendurl/home/help !
This should hopefully fix your problem.
Regards,
Graham
--
Re: ProxyPass and Alias
> Apache v2 has an option to not reverse proxy parts of the URL space,
> like so:
>
> ProxyPass http://backendurl/home/help !
Thanks a lot Graham, it's a very good incentive to upgrade to v2.
Gael