APACHE: limit max connections from the same IP ?
hellow everybody
I've compliled the mod_limitipconn.c into httpd kernel(static),
#httpd -l has list mod_limitipconn.c out
and
# vi /var/www/conf/httpd.conf
<IfModule mod_limitipconn.c>
<Location />
MaxConnPerIP 3
</Location>
</IfModule>
# httpd -S
syntax ok
but after I started newly compiled httpd
and
# netstat -ant|grep my-server-ip:80
I still found a lot of connections from same IP(s).
Is there something I have to do to make the mod_limitipconn.c
work ?
Thanks a ton !!!
|