[users@httpd] Can't get "stickysession" to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx                                   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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux