Mod_limitipconn module Download
Http://dominia.org/djao/limitipconn2.html
Installation of Linux Environment
If you need to install Mod_limitipconn manually, please follow the instructions below. The following instructions are primarily applied to the Apache 2.2.9, but it also supports any later versions of Apache.
Mod_limitipconn instructions for compiling to httpd
Tar xzvf httpd-2.2.9.tar.gz
Tar xjvf mod_limitipconn-0.23.tar.bz2
CD httpd-2.2.9
./configure--with-module=aaa:. /mod_limitipconn-0.23/mod_limitipconn.c
Make
Make install
To establish a dynamic shared object (DSO) Description:
Tar xjvf mod_limitipconn-0.23.tar.bz2
CD mod_limitipconn-0.23
Make install
Installation of Windows environment
Download the appropriate version of the module file to the Apache installation directory under the modules directory, and then search in the httpd.conf file:
#LoadModule Status_module modules/mod_status.so
Remove the # in front of it and add:
Extendedstatus on
LoadModule Limitipconn_module Modules/mod_limitipconn.dll
If you are not downloading the win version, please change the filename to the file name you downloaded
# This represents a limit to the root directory, that is, all restrictions, can be modified as needed
Maxconnperip 2 # This represents up to two threads at a time
Nolimit html/* # This indicates that the HTML directory is unrestricted
This allows more than 2 thread requests from the same client to be rejected, limiting the client's multithreaded downloads