tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Stringer <>
Subject Re: jk load balancing based upon ip address rather than session id
Date Fri, 13 Jun 2008 14:01:08 GMT
On Fri, 2008-06-13 at 10:54 +0200, Rainer Jung wrote:

> Environment variable in httpd can be set by mod_setenvif and 
> mod_rewrite, which are both able to check various request properties. 
> For instance mod_rewrite can check the Cookie header, so you could 
> extract the name of the chosen backend via a regexp from the value of 
> your own SSO cookie. But it's not yet implemented. Check 
> mod_proxy_balancer. In general it has less features than mod_jk, but in 
> your case it seems there is an advantage in mod_proxy_balancer.

Or just use mod_rewrite to check the request properties, and based on
these, rewrite the URL in such a way that it maps to a different JkMount
attribute, sending the request to a specific worker.

Cheers, Ben

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message