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
Gael Marziou [ Fr, 26 März 2004 19:22 ] [ ID #34850 ]

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
--
Graham Leggett [ Sa, 27 März 2004 13:38 ] [ ID #34851 ]

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
Gael Marziou [ Sa, 27 März 2004 21:09 ] [ ID #34852 ]
Webserver » gmane.comp.apache.mod-proxy » ProxyPass and Alias

Vorheriges Thema: mod_proxyand client IP addresses
Nächstes Thema: Apache content filtering for SSL connections?