How can i bound an web application route to sepecific worker when mod_proxy_balaner is used.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux