You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Arnab Ganguly <ag...@gmail.com> on 2008/06/25 18:24:16 UTC

[users@httpd] Help on proxy balancer

Hi All,
Following configuration I have kept.

ProxyPass /balancer-manager !
        ProxyPass / balancer://mycluster/ stickysession=BALANCEID
nofailover=On
        ProxyPassReverse / http://10.146.175.236:81/
        ProxyPassReverse / http://10.146.161.223:82/
        <Proxy balancer://mycluster>
          BalancerMember http://10.146.175.236:81 route=10-146-175-236
          BalancerMember http://10.146.161.223:82 route=10-146-161-223
          ProxySet lbmethod=byrequests
        </Proxy>

and the rewrite for in each of the back end server as follows

RewriteEngine On
RewriteRule .* - [CO=BALANCEID:balancer.10.146.161.223:82]
RewriteRule ^/$ /test-query [L,R=301]


and for the other server is
RewriteEngine On
RewriteRule .* - [CO=BALANCEID:balancer.10.146.175.236:81]
RewriteRule ^/$ /test-query [L,R=301]


But for some link I see from the browser that the request directly goes to
the backend server than through the proxy.Even I checked the access log for
the Proxy during those requests and there is no growth.Any help or
suggestion would be of great help.
Thanks
-A