httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuan11290 <xuan11...@yahoo.com>
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 webmaster@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message