Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 47923] Apache 2.2.11 mod_proxy_balancer looses stickiness if a subdirectory is proxied to backend

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Oct 1, 2009, 6:08 AM

Post #1 of 3 (384 views)
Permalink
[Bug 47923] 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

--- Comment #1 from Mustafa Topaloglu <mustafa.topaloglu [at] bmw> 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 [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 13, 2009, 6:26 AM

Post #2 of 3 (335 views)
Permalink
[Bug 47923] Apache 2.2.11 mod_proxy_balancer looses stickiness if a subdirectory is proxied to backend [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=47923

Mustafa Topaloglu <mustafa.topaloglu [at] bmw> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #2 from Mustafa Topaloglu <mustafa.topaloglu [at] bmw> 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 [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 13, 2009, 6:42 AM

Post #3 of 3 (331 views)
Permalink
[Bug 47923] Apache 2.2.11 mod_proxy_balancer looses stickiness if a subdirectory is proxied to backend [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=47923

Eric Covener <covener [at] gmail> 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 [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.