Re: mod_proxy_http rewrite problem

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

 



Hi,

Thank you for the response.

I need the proxy to work as: https://vanity.example.com

I'm thinking this may require use of  RewriteCond directives, however I may be going about this wrong.

Is there a way to define an 'active' request to avoid looping through the same ProxyPass or ProxyPassMatch needed for an initial request?

Thanks,

HB

On Sat, Jun 9, 2018 at 1:24 AM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
Hi,

On Fri, Jun 8, 2018 at 9:07 PM, Herb Burnswell
<herbert.burnswell@xxxxxxxxx> wrote:
>
> 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?

Possibly:
    ProxyPass /frontpage balancer://applicationcluster ...
or:
    ProxyPassMatch ^/frontpage(/.*)?$ balancer://applicationcluster$1 ...
?

With:
    ProxyPassReverse /frontpage balancer://applicationcluster
this time.

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