Hello,
Im running the newest version of DA
OS CentoS 4 X86 64
KERNEL 2.6.9
APA 2.0.63
PHP 4.4.48 + ZEND 1.3
ive tried to instal the BW mod(mod_bw-0.7) that limit bandwidth by connection/ip
i found guide for the installition here:
http://www.directadmin.com/forum/showthread.php?t=14782
but the mod doesnt work, someone knows maybe what is the problem and how can i fix it?
or maybe someone knows any other mod that limitd the bandwidth by ip?
this is the code ive added into httpd.conf
(instead of the "localhost" i put the server ip)
<VirtualHost localhost:80>
BandWidthModule On
ForceBandWidthModule On
BandWidth localhost 10240
BandWidth all 50000
MinBandWidth all -1
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
thanks.
Im running the newest version of DA
OS CentoS 4 X86 64
KERNEL 2.6.9
APA 2.0.63
PHP 4.4.48 + ZEND 1.3
ive tried to instal the BW mod(mod_bw-0.7) that limit bandwidth by connection/ip
i found guide for the installition here:
http://www.directadmin.com/forum/showthread.php?t=14782
but the mod doesnt work, someone knows maybe what is the problem and how can i fix it?
or maybe someone knows any other mod that limitd the bandwidth by ip?
this is the code ive added into httpd.conf
(instead of the "localhost" i put the server ip)
<VirtualHost localhost:80>
BandWidthModule On
ForceBandWidthModule On
BandWidth localhost 10240
BandWidth all 50000
MinBandWidth all -1
ServerAdmin webmaster@localhost
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>
thanks.