Apache mod evasive导致index.php的权限被拒绝

Apache mod evasive导致index.php的权限被拒绝,apache,security,module,access-denied,Apache,Security,Module,Access Denied,出于安全原因,我安装了apache模块security和evasive。 不,我有时会出错 禁止的 您没有在此服务器上访问/index.php的权限 apache的日志文件向我显示: [Tue May 12 14:42:32.825039 2015][evasive20:error][pid 27443][client 192.168.32.22:51305]客户端被服务器配置拒绝:/var/www/test/index.php,参考: 我知道保护Apache Web服务器的安全非常重要。但是这

出于安全原因,我安装了apache模块security和evasive。 不,我有时会出错

禁止的 您没有在此服务器上访问/index.php的权限

apache的日志文件向我显示: [Tue May 12 14:42:32.825039 2015][evasive20:error][pid 27443][client 192.168.32.22:51305]客户端被服务器配置拒绝:/var/www/test/index.php,参考:

我知道保护Apache Web服务器的安全非常重要。但是这个错误使得合格的工作不可能。我如何防止这个错误? 如果我用a2dismod evasive停用模块,则不会出现错误


谢谢。

您是否设置了URL请求的限制率? 尝试将其添加到apache2.conf中

DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 50
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 10
DOSPageCount是请求URL的数量限制。DOSPageInterval是请求URL的时间限制。例如,在这里,您可以在2秒内请求5次URL

有一篇文章说一个家伙也有同样的问题,如果你想了解更多信息,请看这里

我的设置不同-DOSPageCount=2、DOSPageInterval=1、DOSSiteInterval=1。我根据您的建议更新了设置,现在,故障似乎消失了。谢谢你的提示!