Hi all, I have configuration like
<VirtualHost _default_:1100>
ServerName 192.168.99.29:1100
<Proxy balancer://loadBalancer> BalancerMember ajp://192.168.98.62:11009 route=tomcat2 loadfactor=1 BalancerMember ajp://192.168.96.181:12009 route=tomcat1 loadfactor=1
</Proxy>
<Location /gateway> ProxyPass balancer://loadBalancer/gateway lbmethod=byrequests stickysession=JSESSIONID </Location>
<Location /security> ProxyPass balancer://loadBalancer/security lbmethod=byrequests stickysession=JSESSIONID </Location>
</VirtualHost>
Here I am having two webapp : 1. gateway 2. security Any request related to this web app come then it would be load balanced. But what I want specifically that : Can I bound my ‘/security’ web app can be routed to only ‘tomcat1’ and ‘/gateway’ web app can be routed to both ‘tomcat1’ and ‘tomcat2’ .
This is very much important to know. So please let me know if any body can solve this problem.
Narendra Impetus
|