tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Mod_jk - loadbalancer
Date Mon, 03 Dec 2012 10:02:30 GMT
Orhan Karasakal wrote:
> Hi,
> 
> I use mod_jk loadbalancing. (JkMount /WebApp/* loadbalancer )
> I want to use only one loadbalancer. Can I set specific url after balancing
> ?
> 
> For example, firstly every request will go to loadbalancer.
> Then if request is  /WebApp/A*.com, it will go to node1. If request
> /WebApp/B*.com, it will go to node2
> 
> worker.loadbalancer.balance_workers=node1,node2.
> 
I may not understand correctly what you really want, but from your explanation above, it 
does not look like "load balancing".  What you seem to want is to forward some requests to

one Tomcat back-end (worker1), and some others to another Tomcat back-end (worker2).

If that is the case, you should do this :

JkMount /Webapp/URL-1/* worker1
JkMount /Webapp/URL-2/* worker2


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message