Mod_security问题和User-Agenttypes
对mod_sec非常新颖 我想阻止一个UAstring,我注意到有几种types: SecRule HTTP_User-Agent SecRule REQUEST_HEADERS:User-Agent 他们之间真正的区别是什么? 我的街区: SecRule REQUEST_HEADERS:User-Agent "perl" "phase:2,pass,msg:'Perl based user agent identified'" 我需要设置一个SecDefaultAction阶段:2,拒绝,状态:403,日志,auditlog在那之前? 那么下面的那个SecRule就是这个行为吧?