Re: balancer configuration URL exception

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

 



Hello Ed!

I have a load balancer configuration in httpd.conf that directs all traffic
to the to two remote tomcat servers, but I want to have an exception for
the balancer_manager which is on the Apache server. Currently if I append
the balancer_manager to the apache server url I get
http://chimps-lb-03.cable.whosit.com/balancer-manager
HTTP Status 404 - /balancer-managerbecause there's no /balancer-manager on
either of the the tomcat application servers I'm proxying.

How can I create an exception so that this URL does not redirect to the two
tomcats?

Adding the following before the ProxyPass directive should do the trick:
ProxyPass /balancer-manager !


httpd.conf:

  ## loadfactor set to each server of equal capability.
<Proxy balancer://cluster>
        BalancerMember ajp://chimps-lb-01.cable.whosit.com:8009
        BalancerMember ajp://chimps-lb-02.cable.whosit.com:8009
#       ProxySet lbmethod=bytraffic
</Proxy>
ProxyPass / balancer://cluster/
ProxyPassReverse / balancer://cluster/

<Location /balancer-manager>
    SetHandler balancer-manager
    Order Deny,Allow
#    Deny from all
    Allow from all
</Location>


--
Toomas Aas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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