Wondering if this is hard or something? Is my question not clear? Not enough httpd.conf included?

I'd hugely appreciate some help figuring out how to do this, if anyone has any ideas. I feel like I must be missing something obvious.

Many thanks,
Eric


Eric Bowman wrote:
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.


--
Eric Bowman
Boboco Ltd
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to