httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Young <...@summitbid.com>
Subject [users@httpd] balancer configuration URL exception
Date Wed, 29 Aug 2012 18:53:54 GMT
I'm an Apache noob, so apologies if I'm not using the correct terminology
below.

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?

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>

Mime
View raw message