httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] mod_proxy_balancer - no way to name pool members by IP.
Date Fri, 04 Feb 2011 23:06:48 GMT
On Fri, Feb 04, 2011 at 05:36:01PM +0000, Igor Gali?? wrote:
> > > > But ProxySet only allows you to set the same Variables as
> > > > ProxyPass does. host is none of them.
> > > 
> > > Indeed. This appears to be the problem. Such an option is missing.
> > 
> > Right now I'm looking into 2.2's source to see how to add an option
> > preservehost=(on|off).
> > 
> > Can you please test:
> >
> > 
> > duh.. nodocumentationpatch!
> > But I'm pretty sure you can guess how to use it ;)
> Adds: Documentation, CHANGES update, MMN bump
> Also has a _set variable analogous to the other options.
> Bonus: compiles.
> Untested so far.

Thanks. I've poked and snuffled, but a co-worker has pointed out that
there may be problems if this worker is a member of two different balance
pools. The connection properties would be controlled by the worker, but
what is sent down that connection should be controlled by the balancer pool.

I followed your earlier lead when you mentioned ProxyPreserveHost is now
localisable in trunk. I dug out svn commit r824072 which looks to be exactly
what I need. It should prevent shared workers getting mixed up by allowing
me to set the Host at the <Proxy balancer://..> level.

I have a sneaking suspicion trying to set <Proxy http://10.*> for a worker
would never work anyway, as the system won't see that as the destination.
It will see the balancer instead, so only the <Proxy balancer://..> config
would apply anyway.

We'll see how far I get.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message