// ----- How to install Mod_Limitipconn -----
// If you are not root you will need to su - to root
// if not there already
cd /root
wget
http://dominia.org/djao/limit/mod_limitipc...onn-0.04.tar.gz
tar xzvf mod_limitipconn-0.04.tar.gz
cd mod_limitipconn-0.04
pico Makefile
//Find the line that reads APXS = apxs and edit it to show
APXS=/usr/local/apache/bin/apxs
make
make install
pico -w /usr/local/apache/conf/httpd.conf
// Find #ExtendedStatus On
// and remove the # to show
ExtendedStatus On
// Goto the first
directive
// Before that put this
MaxConnPerIP 3
# exempting images from the connection limit is often a good
# idea if your web page has lots of inline images, since these
# pages often generate a flurry of concurrent image requests
NoIPLimit image/*
// Location is the folder that you want to restrict, the full address
// MaxConnPerIP is obviously the max connections per ip
// NoIPLimit means that it excludes certain files and folders from
// the Limit
save the file (ctrl+x Y)
service httpd restart
// Test it out
// Written by Matt - SeeksAdmin