Re: mod_proxy_http rewrite problem

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

 



Yann,

Thank you for the response.

I should have added to my post that we need the proxy to work without requiring adding a path to the vanity URL as:

https://vanity.example.com/frontpage

That being said I did test with modifying the ProxyPass and ProxyPassReverse as you suggested, and it does work if an ending forward slash is added to the end of the URL:

https://vanity.example.com/frontpage/

Given that bit of information, is there a way to get it to work without needing to add the '/frontpage/' path to the URL?

Any guidance is greatly appreciated..

HB

On Fri, Jun 8, 2018 at 12:04 AM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
Hello,

On Thu, Jun 7, 2018 at 9:36 PM, Herb Burnswell
<herbert.burnswell@xxxxxxxxx> wrote:
>
>         RewriteEngine   On
>         RewriteRule "^/frontpage(.+)" "$1" [R,L]

What about this instead of the above:
        ProxyPass /frontpage/ balancer://applicationcluster/
stickysession=JSESSIONID
        ProxyPassReverse /frontpage/ balancer://applicationcluster/
stickysession=JSESSIONID
?

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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