httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38357] - mod_proxy_balancer doesn't support sticky session
Date Thu, 05 Apr 2007 21:38:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38357





------- Additional Comments From rpluem@apache.org  2007-04-05 14:38 -------
(In reply to comment #10)

> This is great, thanks again; one thing I note is that the route ID seems to
> include the '.', so it seems better to prefix the `routeid` params in the

No, this is not the case. '.' is only the separator. It is not part of the ID.

> BalanceMember configs with '.', and leave it out of the Set-Cookie
> header-manip.  As such:
> 
>   Header add Set-Cookie "app_lb=%{BALANCER_WORKER_ROUTE}e; path=/;"
> env=BALANCER_ROUTE_CHANGED
> 
>   <Proxy balancer://our-app>
> 	BalancerMember http://host1:8080 route=.host1
> 	BalancerMember http://host2:8090 route=.host2
>   </Proxy>

Sorry, but this config does not work (I checked it). You need to have the '.' in
the Header directive, but the string before '.' can be empty. So it is ok if the
value of your cookie starts with the separator '.'.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message