httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuan11290 <>
Subject [users@httpd] Re: mod_proxy integrate mod_cband apache http server
Date Wed, 10 Apr 2013 11:43:46 GMT
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
     DocumentRoot "/var/www/html/"
     CBandSpeed 1024 10 30
    CBandRemoteSpeed 50kb/s 3 3
    CBandLimit 10K
    CBandExceededSpeed 128 5 15
#    CBandScoreboard /var/www/scoreboard
    CBandPeriod 1W

        ProxyPass / balancer://mybalancer/     
        <Proxy balancer://mybalancer>
        BalancerMember route=tomcat1 loadfactor=1
        BalancerMember route=tomcat2 loadfactor=1
        ProxySet lbmethod=byrequests
# Forward Proxy
ProxyRequests Off
<Proxy *>
    Order deny,allow
    Deny from none
    Allow from all

View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message