httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narendra Verma" <>
Subject [users@httpd] How can i bound an web application route to sepecific worker when mod_proxy_balaner is used.
Date Tue, 25 Mar 2008 08:00:00 GMT
Hi all,

I have configuration like 


<VirtualHost _default_:1100>




     <Proxy balancer://loadBalancer>

       BalancerMember ajp:// route=tomcat2 loadfactor=1

        BalancerMember ajp:// route=tomcat1 loadfactor=1




    <Location /gateway>

            ProxyPass balancer://loadBalancer/gateway  lbmethod=byrequests



    <Location /security>

        ProxyPass balancer://loadBalancer/security  lbmethod=byrequests





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.





View raw message