walo
Verified User
- Joined
- Mar 19, 2005
- Messages
- 156
This module allows web server administrators to limit the number of simultaneous downloads permitted from a single IP address.
How to install:
$> wget http://dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz
$> tar xzvf mod_limitipconn-0.04.tar.gz
now you must find "apxs"
$> cd /
$> find -name apxs
remmember the path of that file (usually /usr/sbin/apxs).
Now, go back to the mod_limitipconn-0.04 folder
$> cd mod_limitipconn-0.04
Edit the MakeFile archive
$> vi makeFile
replace "APXS = apxs" with the appropriate path
APXS = /usr/sbin/apxs (in my case).
Save and exit
Go on...
$> make
$> make install
The module is now installed.
Edit your httpd.conf (/etc/httpd/conf/httpd.conf).
Before:
Add:
You can also add this lines in the virtual_host template in directadmin templates. And then modifi this limit for a single user.
Restart httpd
$> service httpd restart
More info at http://dominia.org/djao/limitipconn.html
How to install:
$> wget http://dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz
$> tar xzvf mod_limitipconn-0.04.tar.gz
now you must find "apxs"
$> cd /
$> find -name apxs
remmember the path of that file (usually /usr/sbin/apxs).
Now, go back to the mod_limitipconn-0.04 folder
$> cd mod_limitipconn-0.04
Edit the MakeFile archive
$> vi makeFile
replace "APXS = apxs" with the appropriate path
APXS = /usr/sbin/apxs (in my case).
Save and exit
Go on...
$> make
$> make install
The module is now installed.
Edit your httpd.conf (/etc/httpd/conf/httpd.conf).
Before:
Code:
#Start DirectAdmin Settings
Code:
<IfModule mod_limitipconn.c>
<Location />
MaxConnPerIP 5
NoIPLimit image/*
</Location>
</IfModule>
You can also add this lines in the virtual_host template in directadmin templates. And then modifi this limit for a single user.
Restart httpd
$> service httpd restart
More info at http://dominia.org/djao/limitipconn.html