tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@apache.org>
Subject RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c
Date Tue, 03 Aug 2004 13:47:23 GMT
 

Graham Leggett wrote:
> 
> Just a quick note - ProxyPassReverse is for dealing with the 
> conversion of Location headers from the backend to the frontend.
> 
> A load balancing module should be using it's own directive 
> for this, not ProxyPassReverse.
>

Sure, but it's IMO the proper place for adding loadbalancers (usable only
for reverse proxies).

ProxyPass /url balancer://[stickysessionname | default]/[nofailover]
ProxyPassReverse /url host-1(lbfactor) 
ProxyPassReverse /url host-2(lbfactor)
...
ProxyPassReverse url host-n(lbfactor)

Then I'll merge all the entries with the same url and that will be a
loadbalancer.
Proxy_loadbalance will then maintain those structure runtime params and
fixup balancing factors.

I was thinking to add the balancer:// sheme to the ProxyPass. 

MT.

Mime
View raw message