httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Germer, Carsten" <carsten.ger...@desy.de>
Subject [users@httpd] Can't get "stickysession" to work
Date Thu, 05 Jan 2006 14:21:28 GMT
Hello Everyone,

We're using apache 2.2.0 as caching proxy in front of several
application servers. No matter what I tried, I can't get "stickysession"
to see my appservers session-cookie :(

<VirtualHost *:80>
  ServerName appfront.desy.de
  RewriteEngine on
  RewriteRule ^(.*) balancer://mycluster$1 [P,L] stickysession=_ZopeId
nofailover=On
  <Proxy balancer://mycluster>
    BalancerMember http://app1.desy.de:8080/foo/bar
    BalancerMember http://app2.desy.de:8080/foo/bar
  </Proxy>
</VirtualHost>

Now when I access http://appfront.desy.de/ the cookie "_ZopeId" is set
correctly as I can see in FireFox options:
Name: _ZopeId
Content: NonChangingSessionKey 
Host: appfront.desy.de
Path: /
Send For: Any type of connection
Expires: at end of session

But apache continues to distribute further requests between app1 and
app2. Where am I wrong? Do I need to put something around the
cookie-name or something?

This keeps me up at night for a few days now... Many thanks in advance
for any hint!

/Carsten

------------------------------------------------------------------------
Carsten Germer         Deutsches Elektronen Synchrotron (Web-Office, IT)
phone:  +49-40-8998-1661                                    Notkestr. 85
web: http://wof.desy.de                                    22607 Hamburg
e-mail: carsten.germer@desy.de                                   Germany
------------------------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message