只为一个网站启用Mod_Security

有没有一种方法可以禁用所有网站的安全模式? 除了一个? 我有超过500个网站托pipe,只想打开一个网站,这是有它的攻击。

好吧,我想这是可能的,如果你启用configuration为mod安全性在.htaccess中或在特定域的虚拟主机apacheconfiguration使用类似这样的东西:

<IfModule mod_security2.c> SecRuleEngine On ...... (any other directives you might want to override from the defaul conf) </IfModule> 

另外在/etc/httpd/conf.d/mod_security.conf ,或者存储默认configuration的地方,将SecRuleEngine Off设置SecRuleEngine Off但保留其他指令。