I'm trying to limit bandwidth in centOS. I have tried using bw_module
, cband_module
and bandwidth_module
, but all of those required to use the httpd.conf
and must restart httpd!
I have to do this live. I want to allow smooth updates when the site is up and DO NOT restart. Is there any way to use .htaccess
and not httpd.conf
?
Here is my httpd.conf code:
CBandScoreFlushPeriod 1
CBandRandomPulse On
<Virtualhost *>
BandwidthModule On
ForceBandWidthModule On
Bandwidth all 500000
Servername www.XXX.com
</Virtualhost>
I need to insert
Bandwidth 123.456.748.9 20000
for a lot of IPs and to be dynamic. Is there any way?