You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by xuan11290 <xu...@yahoo.com> on 2013/04/10 13:27:02 UTC

[users@httpd] mod_proxy integrate mod_cband apache http server

I have 3 machines. One installs apache, two other installs tomcat. I config
mod_proxy successful with them but when I config mod_cband, that seem to be
useless. Any one has idea?



--
View this message in context: http://apache-http-server.18135.x6.nabble.com/mod-proxy-integrate-mod-cband-apache-http-server-tp5004885.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


Re: [users@httpd] Re: mod_proxy integrate mod_cband apache http server

Posted by Igor Cicimov <ic...@gmail.com>.
>     CBandExceededSpeed 128 5 15
>     CBandExceededURL http://24h.com.vn
>
As far as I know the CBandExceededSpeed and the CBandExceededURL directives
are mutually exclusive. They do not make sense in the same vhost.

[users@httpd] Re: mod_proxy integrate mod_cband apache http server

Posted by xuan11290 <xu...@yahoo.com>.
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


Re: [users@httpd] mod_proxy integrate mod_cband apache http server

Posted by Eric Covener <co...@gmail.com>.
On Wed, Apr 10, 2013 at 7:27 AM, xuan11290 <xu...@yahoo.com> wrote:
> I have 3 machines. One installs apache, two other installs tomcat. I config
> mod_proxy successful with them but when I config mod_cband, that seem to be
> useless. Any one has idea?

Elaborate on your problem if you want help.

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