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

--- Comment #1 from Mustafa Topaloglu <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to