httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hermidio A. Rodriguez Chavez" <hermi...@ipiscpt.rimed.cu>
Subject [users@httpd] mod_cband apache2 debian system
Date Mon, 08 Oct 2007 17:37:18 GMT
hellow friends i tried configure mod_cband in apache2 but it appear to 
no work for my configuration, let me explain you what i want to do

scenario:

i have and external network & like limit the download traffic for this 
external network  and  open all traffic to my internal network, here's 
my conf in virtualhost file



<IfModule mod_cband.c>
     <Location /cband-status>
     SetHandler cband-status
     </Location>
         <Location /cband-status-me>
SetHandler cband-status-me
     </Location>
  <CBandClass localNetwork>
CBandClassDst 172.16.1.0/24
CBandClassDst 172.16.2.0/24
CBandClassDst 172.16.3.0/24
CBandClassDst 172.16.4.0/24
CBandClassDst 172.16.5.0/24
CBandClassDst 172.16.6.0/24
CBandClassDst 172.16.7.0/24
CBandClassDst 172.16.8.0/24
CBandClassDst 172.16.9.0/24
CBandClassDst 172.16.10.0/24
CBandClassDst 172.16.11.0/24
</CBandClass>

<CBandClass nodo>
CBandClassDst 172.16.0.0/24
</CBandClass>

<CBandClass external>
CBandClassDst 192.168.157.244
CBandClassDst 192.168.157.0/24
CBandClassDst 192.168.158.0/24
CBandClassDst 192.168.159.0/24
CBandClassDst 200.55.156.0/24
</CBandClass>


<virtualhost *:80>

<IfModule mod_cband.c>
CBandSpeed 10240 2 30
#CBandUser user1
CBandClassRemoteSpeed localNetwork 60Mb/s 2 3
#CBandClassLimit external 32kb/s
CBandClassRemoteSpeed external 32kb/s 3 3
</IfModule>

</virtualhost>


Can you helpme?

Thanks in advance

Hermidio



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message