httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <se...@prestosports.com>
Subject [users@httpd] Re: stickysession without ProxyPass
Date Wed, 04 Jul 2007 03:52:59 GMT
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@prestosports.com

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