httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bowman <ebow...@boboco.ie>
Subject Re: [users@httpd] reverse-proxy from /
Date Wed, 14 May 2008 06:17:57 GMT
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
ebowman@boboco.ie
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message