httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: [users@httpd] Apache Proxy Balancer cannot use other parameter except JSESSIONID for stickysession.
Date Wed, 15 Sep 2010 14:33:21 GMT
On 15.09.2010 04:02, FUNASAKI KENJI wrote:
> Hi,
> I have a question.
> Can Apache Proxy Balancer use other parameter except JSESSIONID for stickysession ?
> For example, like following httpd.conf.
> -----------
> ProxyPass / balancer://mycluster/ lbmethod=byrequests timeout=5 stickysession=TESTID
> ProxyPassReverse / balancer://mycluster/
> <Proxy balancer://mycluster/>
> BalancerMemeber host1 route=123
> BalancerMemeber host1 route=456
> </Proxy>
> ------------
> I tried this, and at backend,
> AP1 set TESTID=xxx.123 into cookie,
> AP2 set TESTID=xxx.456 .
> this cannot make stickysession.
> However, I changed it from TESTID to JSESSIONID,
> it succeeded stickysession.
> So I think Apache Proxy Balancer use only JSESSIONID, is it true ?

No, it is expected to work the way you tried.

Which exact version of Apache are you using?

You can log

- the value of the "TESTID" cookie
- the value of the five environment variables describeson the page

by adding them to the log format of your access log.

In addition you can increase the Apache LogLevel to debug, which makes 
the proxy module log quite verbosely. It should be easy to find the root 
problem using the additional output.



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