Installing mod_throttle….
The Apache module is intended to reduce the load on your server & bandwidth generated by virtual hosts, directories, locations, or users according to supported polices that decide when to delay or refuse requests. Also mod_throttle can track and throttle incoming connections by IP address or by authenticated remote user.
Â
Every request go though 4 levels of throttling
– Client’s IP address
– Remote username
– Local user ID
– Directory/Server/Location
Â
In order to install mod_throttle on the server, please login into your SSH with root login,
Â
1) Please go to the directory
– cd /usr/src
Â
– wget http://www.snert.com/Software/mod_throttle/mod_throttle312.tgz
Â
– tar -zxvf mod_throttle312.tgz
Â
2) Go to the directory
– cd mod_throttle-3.1.2
Â
3) Edit the file as
– vi Makefile
And change it to read:
Â
APXS=/usr/local/apache/bin/apxs
Save the file and
Â
4) Run following commands in order to install it
Â
– make
Â
– make install
Â
5) Restart apache service on the server.
Â
6) In order to check the throttling for any domain you will have to insert a ThrottlePolicy and output location as” Location /output ” in it’s Virtual host entry, just before the line .
Â
And you can check results or output at — http://domainname/output.

















October 27th, 2006 at 11:00 am
I like the post its really very helpful.