httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54102] new feature: automatic route detection
Date Thu, 22 Nov 2012 17:05:13 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54102

--- Comment #1 from Zisis Lianas <zl@consol.de> ---
As workaround (or solution) you can use the following configuration:

  Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
  <Proxy balancer://appcluster>
    BalancerMember http://backend1.foo:7001 route=0
    BalancerMember http://backend2.foo:7001 route=1
    ProxySet lbmethod=bybusyness nofailover=off stickysession=ROUTEID
  </Proxy>


This configuration keeps the BALANCER_WORKER_ROUTE in a cookie called ROUTEID.
So the stickyness is based on ROUTEID, an not JSESSIONID anymore. This works
for session stickyness as well as session-failover scenarios.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message