You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/10/01 11:35:08 UTC
DO NOT REPLY [Bug 47923] New: Apache 2.2.11 mod_proxy_balancer
looses stickiness if a subdirectory is proxied to backend
https://issues.apache.org/bugzilla/show_bug.cgi?id=47923
Summary: Apache 2.2.11 mod_proxy_balancer looses stickiness if
a subdirectory is proxied to backend
Product: Apache httpd-2
Version: 2.2.11
Platform: All
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: mod_proxy_balancer
AssignedTo: bugs@httpd.apache.org
ReportedBy: mustafa.topaloglu@bmw.de
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.
--
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
DO NOT REPLY [Bug 47923] Apache 2.2.11 mod_proxy_balancer looses
stickiness if a subdirectory is proxied to backend
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47923
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |INVALID
--
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
DO NOT REPLY [Bug 47923] Apache 2.2.11 mod_proxy_balancer looses
stickiness if a subdirectory is proxied to backend
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47923
Mustafa Topaloglu <mu...@bmw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mustafa Topaloglu <mu...@bmw.de> 2009-10-13 06:26:23 UTC ---
Solved using following line:
ProxyPassReverseCookiePath / /subdir
Session stickiness can be preserved now.
--
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
DO NOT REPLY [Bug 47923] Apache 2.2.11 mod_proxy_balancer looses
stickiness if a subdirectory is proxied to backend
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47923
--- Comment #1 from Mustafa Topaloglu <mu...@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