But firstly I want to send requests to loadbalancer and then according to url, sending the other nodes. I have a lot of nodes and I have to use loadbalancer for every request
On Mon, Dec 3, 2012 at 12:02 PM, André Warnier <a...@ice-sa.com> wrote: > 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<users-unsubscr...@tomcat.apache.org> > For additional commands, e-mail: users-h...@tomcat.apache.org > >