Mysql 修正mod security中的规则
我已经安装了mod security 2.5.12 我得到了错误403禁止一些php文件 所以这是假阳性 我想禁用此特定警告的规则Mysql 修正mod security中的规则,mysql,apache,mod-security,Mysql,Apache,Mod Security,我已经安装了mod security 2.5.12 我得到了错误403禁止一些php文件 所以这是假阳性 我想禁用此特定警告的规则 那么,有谁能告诉我,我如何知道mod security文件中此错误的规则???在mod_security.log文件中写入了行和规则。例如: Message: Access denied with connection close (phase 2). Matched phrase "msnbot" at REQUEST_HEADERS:User-Agent. [f
那么,有谁能告诉我,我如何知道mod security文件中此错误的规则???在mod_security.log文件中写入了行和规则。例如:
Message: Access denied with connection close (phase 2). Matched phrase "msnbot" at REQUEST_HEADERS:User-Agent. [file "/home/oscar/conf/mod_sec_default_action.conf"] [line "28"] [id "60008"]
您应该添加或修改SecAuditEngine参数以开始登录httpd.conf,值为
启动发动机
,或
SecAuditEngine仅与此相关
规则信息显示在您在httpd.conf的SecAuditLog中指定的文件中
SecAuditLog /logs/mod_security.log