sialbrijendra

Member
Jun 24, 2010
12
0
51
i have installed mod_evasive and its saying to "cPanel users can edit /usr/local/apache/conf/includes/post_virtualhost_2.conf or use the Apache Configuration option in WHM."

i tried to open usr/local/apache/conf/includes/post_virtualhost_2.conf buts its totally blank file

i have to add these settings:-

<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 3600
DOSEmailNotify root
</IfModule>
tell me how can i add this in WHM?
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
That file is always blank unless you add something into it, go ahead and just paste that in. Do be aware of the limits you are setting on the site, that is a pretty quick limit which may cause some issues.