reverse-proxy from /

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

 



Hi all,

I'm trying to run http 2.2.x so that it proxies all requests to subpath on another server, something like:

ProxyPass / balancer://foocluster/
ProxyPassReverse / http://bar:35540/foo/
<proxy balancer://foocluster/>
   BalancerMember http://bar:35540/foo/ loadfactor=1
</proxy>

This works ok for URLs like http://foo.com/images/foo.gif, which correctly get reverse-proxied to http://bar:35540/foo/images/foo.gif.

A request to just http://foo.com/something does NOT reverse-proxy correctly; it only works if there is a further '/' in the path.

Is there a special trick? I think I've tried every combination of "ends with /" and "does not end with /" on the ProxyPass, ProxyPassReverse, and BalancerMember directives, to no avail.

Thanks in advance,
Eric

--
Eric Bowman
Boboco Ltd
ebowman@xxxxxxxxx
http://www.boboco.ie/ebowman/pubkey.pgp
+35318394189/+353872801532


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
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