i config mod_proxy apache2 with tomcat cluster(2 machine), that is ok.
i config mod_cband (virtual host based-name) apache2 to control traffic with
each virtual host, that is ok.

But i want integrate 2 module together. In virtual host tag, i config load
balancing with mod_proxy,
but that seem CBandLimit is useless
<VirtualHost *:80>
 #   ServerAdmin webmas...@dummy-host2.example.com
     DocumentRoot "/var/www/html/"
     ServerName admin.example.com
     CBandSpeed 1024 10 30
    CBandRemoteSpeed 50kb/s 3 3
    CBandLimit 10K
    CBandExceededSpeed 128 5 15
#    CBandScoreboard /var/www/scoreboard
    CBandPeriod 1W
    CBandExceededURL http://24h.com.vn

        ProxyPass / balancer://mybalancer/     
stickysession=JSESSIONID|jsessionid
        <Proxy balancer://mybalancer>
        BalancerMember http://10.1.1.77:8080 route=tomcat1 loadfactor=1
        BalancerMember http://10.1.1.28:8080 route=tomcat2 loadfactor=1
        ProxySet lbmethod=byrequests
        </Proxy>
# Forward Proxy
ProxyRequests Off
<Proxy *>
    Order deny,allow
    Deny from none
    Allow from all
</Proxy>
</VirtualHost>




--
View this message in context: 
http://apache-http-server.18135.x6.nabble.com/mod-proxy-integrate-mod-cband-apache-http-server-tp5004885p5004887.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to