You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ol...@unilog.de on 2005/11/21 11:57:45 UTC

RE: [users@httpd] SOLVED mod_proxy_balancer question 2.1.9

HI,
 
it is solved.
 
The magical thing seems to be a slash after the name of the cluster,
so "/somcluster" gets an warn message in the error_log and "/somcluster/"  works
 
This is NOT Working:
 ProxyPass / balancer://somcluster   lbmethod=byrequests stickysession=JSESSIONID nofailover=On
 <Proxy balancer://somcluster>
   BalancerMember <http://172.19.15.21:11800/> http://172.19.15.21:11800  loadfactor=1
   BalancerMember <http://172.19.15.22:11810/> http://172.19.15.22:11810  loadfactor=1
 </Proxy>
 
This is Working:
 
 ProxyPass / balancer://somcluster/   lbmethod=byrequests stickysession=JSESSIONID nofailover=On
 <Proxy balancer://somcluster/>
   BalancerMember <http://172.19.15.21:11800/> http://172.19.15.21:11800 <http://172.19.15.21:11800/> /  loadfactor=1
   BalancerMember <http://172.19.15.22:11810/> http://172.19.15.22:11810 <http://172.19.15.22:11810/> /  loadfactor=1
 </Proxy>
 
And for each URI which should not be proxied  to the back, don't forget a line like this:
  ProxyPass /balancer-manager !

bye
 
Oliver