httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47923] Apache 2.2.11 mod_proxy_balancer looses stickiness if a subdirectory is proxied to backend
Date Thu, 01 Oct 2009 13:08:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47923

--- Comment #1 from Mustafa Topaloglu <mustafa.topaloglu@bmw.de> 2009-10-01 06:08:01
PDT ---
(In reply to comment #0)
> The stickiness of mod_proxy_balancer works fine, if all content is proxied to
> backend. 
> <Proxy balancer://mycluster>
> BalancerMember http://160.50.216.29:3080 route=0
> BalancerMember http://160.50.216.28:3080 route=1
> </Proxy>
> ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid
> nofailover=Off
> If I try to proxy only a specified subdirectory, the stickiness cannot be
> preserved.
> <Proxy balancer://mycluster/subdir>
> BalancerMember http://160.50.216.29:3080 route=0
> BalancerMember http://160.50.216.28:3080 route=1
> </Proxy>
> ProxyPass / balancer://mycluster/subdir stickysession=JSESSIONID|jsessionid 
> nofailover=Off
> There aren't any error entries in log files.

Correction of the second configuration for proxying subdirectories:

<Proxy balancer://mycluster/subdir>
  BalancerMember http://160.50.216.29:3080 route=0
  BalancerMember http://160.50.216.28:3080 route=1
</Proxy>
ProxyPass /subdir balancer://mycluster/subdir
stickysession=JSESSIONID|jsessionid nofailover=Off

I tried all possible kombinations regarding trailing slashes. For example:

ProxyPass /subdir/ balancer://mycluster/subdir/
stickysession=JSESSIONID|jsessionid nofailover=Off

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message