Apache restrictions on the number of IP threads

xiaoxiao2021-03-06  18

1 Limit the number of IP threads in the Apache client

From

Http://dominia.org/djao/ Download MOD_LIMITIPCONN-0.22.tar.gz

Upload decompression

# / opt / http / bin / apxs -c -i -a mod_limitipconn.c compiles this DSO module into Apache

Check / opt / httpd / modules Is there a mod_limitipconn.so module

Configure Apache configuration files

LOADMODULE LIMITIPCONN_MODULE MODULES / MOD_LIMITIPCONN.SOSO

MaxConnperip 2

And remove the comment #EXtendedStatus ON

Restart Apache, check if a single IP multiple concurrent connections can be restricted

转载请注明原文地址:https://www.9cbs.com/read-39536.html

New Post(0)