我配置了来自https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_安全性与-apache-on-debian-ubuntu的mod。之后,重新启动apache服务,但我发现了错误:
The apache2 configtest failed. Output of config test was:
AH00526: Syntax error on line 97 of /usr/share/modsecurity-crs/modsecurity_crs_10_setup.conf:
ModSecurity: Found another rule with the same id
Action 'configtest' failed.
The Apache error log may have more information.错误日志:(但我认为这不是模式安全错误的日志)
[Sun Jan 11 01:40:20.278652 2015] [mpm_prefork:notice] [pid 5359] AH00169: caught SIGTERM, shutting down我也用逃避模式。
发布于 2015-04-27 13:18:05
错误在这里:编辑httpd.conf/apache2.conf
<IfModule security2_module>
Include crs/modsecurity_crs_10_setup.conf
Include crs/activated_rules/*.conf
</IfModule>把它改成
<IfModule security2_module>
# Include crs/modsecurity_crs_10_setup.conf
Include crs/activated_rules/*.conf
</IfModule>在booth行激活后,apache包含2倍于相同配置的配置,然后在重新启动时得到相同id的错误。
https://serverfault.com/questions/658671
复制相似问题