[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Auto Mod Throttle on Raq4i



Does anyone know if it is possible to "automate" the addition of
mod_throttle settings to the httpd.conf file for new virtual sites? Here is
what I normally add to my new customer's sites:

<IfModule mod_throttle.c>
ThrottlePolicy Volume 8G 30d
</IfModule>
<Location /throttle-me>
SetHandler throttle-me
</Location>

Then, I restart Apache Web Server with /etc/rc.d/init.d/httpd restart.

It would be cool to automate this, so that new sites would have this added
to httpd.conf by default.

Any help or pointers would be appreciated.

Regards,
--
Tony Scarola
NETWRKZ ~ Web Hosting, Site Design, System Services & Support
Virginia Beach, VA, USA
http://www.maxnetworks.com
tscarola@xxxxxxxxxxxxxxx
757.641.4986