httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Onur Ağın <onura...@gmail.com>
Subject [users@httpd] Load balancer sticky session problem
Date Tue, 24 Nov 2009 10:04:58 GMT
Hi,

With the configuration below, sticky sessions won't work...
I checked that both servers get the request with the same session IDs.
Any ideas?


<VirtualHost *:8001>
# Proxy
ProxyRequests Off
<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>
<Proxy balancer://ow1 stickysession=JSESSIONID lbmethod=byrequests>
  BalancerMember http://10.xxx:7101
  BalancerMember http://10.xxx:7102
</Proxy>

ProxyPass / balancer://ow1/
</VirtualHost>

<VirtualHost *:8002>

# Proxy
ProxyRequests Off
<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>
<Proxy balancer://ow2 stickysession=JSESSIONID lbmethod=byrequests>
  BalancerMember http://10.xxx:7103
  BalancerMember http://10.xxx:7104
</Proxy>

ProxyPass / balancer://ow2/
</VirtualHost>


Also my request header is:

GET
/xxx/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js;jsessionid=76BF17CE24DB39AC8F6B3639BBA5727D
HTTP/1.1
Accept: */*
Referer: http://10.xxx:8001/xxx/?class=texan.acq.ui.param.MERPARAM
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
2.0.50727; MS-RTC LM 8; InfoPath.2)
Host: 10.xxx:8001
Connection: Keep-Alive
Cookie: JSESSIONID=76BF17CE24DB39AC8F6B3639BBA5727D

Mime
View raw message