Hi,
I have installed mod_evasive and need to insert some lines into /etc/httpd/conf/httpd.conf file. I have seen so many different methods so I'm unsure of the exact method which is relevant for my server.
The readme file for mod_evasive says that I need to add this to the httpd.conf for APACHE v2.0 (I'm using 2.2):
I was wondering if I should use the Apache Configuration or just edit the file manually. If I need to edit it manually I really don't know where exactly in the file I have to insert it
But if I do it in cPanel/WHM do I need to insert it in the "Pre VirtualHost Include" in Apache Configuration?
Two other questions for the mod_evasive lines in httpd.conf:
1. Would you recommend to set the DOSBlockingPeriod higher?
2. would you recommend the:
DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
Do I need to adjust something in this command?
I have installed mod_evasive and need to insert some lines into /etc/httpd/conf/httpd.conf file. I have seen so many different methods so I'm unsure of the exact method which is relevant for my server.
The readme file for mod_evasive says that I need to add this to the httpd.conf for APACHE v2.0 (I'm using 2.2):
Code:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>
But if I do it in cPanel/WHM do I need to insert it in the "Pre VirtualHost Include" in Apache Configuration?
Two other questions for the mod_evasive lines in httpd.conf:
1. Would you recommend to set the DOSBlockingPeriod higher?
2. would you recommend the:
DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
Do I need to adjust something in this command?