Pages

Wednesday, September 10, 2008

limitipconn module For Apache ( Debian GNU/Linux)

Use limitipconn module to limit maximum connections to web site.

step 1) Install apache2-mod-limitipconn_0.22-1_i386 module

step 2)
limitipconn is enabled in mod_enabled and following lines are added in the apache2.conf file.

< IfModule mod_limitipconn.c >
< Location / >
MaxConnPerIP 5
# 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 >
< /IfModule >

No comments: