ProxyPass and Alias
am 26.03.2004 19:22:01 von Gael Marziou
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
am 27.03.2004 13:38:43 von Graham Leggett
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
am 27.03.2004 21:09:01 von Gael Marziou
> 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