For security reasons I installed the apache modules security and evasive. No I get sometimes the Error
Forbidden You don't have permission to access /index.php on this server.
The logfile of apache shows me: [Tue May 12 14:42:32.825039 2015] [evasive20:error] [pid 27443] [client 192.168.32.22:51305] client denied by server configuration: /var/www/test/index.php, referer: http://test.domain.local/index.php
I know it is important to secure Apache Webserver. But this error makes qualified working not possible. How can I prevent from this error? If I deactive the module with a2dismod evasive, the error does not come up.
Thank you.
Did you set up the limit rate for URL request ? Try to add this into your apache2.conf
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 50
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 10
DOSPageCount is the number limit for requesting a URL. DOSPageInterval is the time limit for request a URL. Here for example you can request 5time a URL within 2seconds.
There's an article with a guy having the same problem, here it is if you want more information http://www.techtutorials.net/articles/introduction_to_apache_mod_evasive.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With