httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] Proxy problems when using subdirectory
Date Wed, 19 Nov 2014 21:37:33 GMT
On 20/11/2014 1:04 AM, "H Plato" <hplato@gmail.com> wrote:
>
> Thanks Eric,
>
> I've tried so many combinations of this with no success, both in and out
of a location block. This should work according to the docs, but it doesn't
(i'm writing this from memory so might have syntax wrong):
>
> <location /a/>
>   ProxyHTMLURLMap / /a/
>   ProxyHTMLURLMap /bin/  /a/bin/
> </location>
>
> Sent from my mobile device.
>
Try this in the vhost

ProxyHTMLEnable On
ProxyPass /a/ http://192.168.0.51:80/
ProxyPassReverse /a/ http://192.168.0.51:80/
ProxyHTMLURLMap http://192.168.0.51:80/ /a/

Mime
View raw message