httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <>
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} ^ [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

Damn I love having access to source code!

Serge Knystautas
PrestoSports >> Bringing Sports Information Online >>
p. 301-789-1807

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message