Then load it into Apache with the APache eXtenSion tool (APXS)
/usr/local/apache/bin/apxs -cia mod_limitipconn.cNow we have to modify the vhost parameter in cPanel to include it.
Log into cPanel as root and navigate to:
Main >> Service Configuration >> Apache Configuration >> Include Editor >> Post Virtual Host >> ALL Versions
...and add this code to the box:
<IfModule mod_limitipconn.c> <Location /> MaxConnPerIP 10 NoIPLimit images/* </Location> </IfModule>Save and restart Apache
No comments:
Post a Comment