Re: stickysession without ProxyPass

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

 



Serge Knystautas wrote:
I'm using mod_proxy_balancer with httpd 2.2.4. I have 2 clusters defined and use rewrite rules with the [P] flag to route to one of the two, e.g.,

RewriteCond %{HTTP_HOST} ^www2.prestosports.com [NC]
RewriteRule ^/(.*) balancer://main/$1 [P]

I'd now like to be able to set the "stickysession" parameter to use the cookie I'll be setting in the next release of our app tier. However, AFAICT the only place I could set this is with the ProxyPass directive. Is there any way I can set stickysession while using mod_rewrite rules?

Answering my own question...

<Proxy balancer://main >
  BalancerMember http://member1
  BalancerMember http://member2
  # See below
  ProxySet stickysession=lbm
</Proxy>

Damn I love having access to source code!

--
Serge Knystautas
PrestoSports >> Bringing Sports Information Online >> http://www.prestosports.com
p. 301-789-1807
e. serge@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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