Re: Proxy problems when using subdirectory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 20/11/2014 1:04 AM, "H Plato" <hplato@xxxxxxxxx> 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/


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux