Disable mod_security rule globally

Armitage318

Member
Jun 4, 2012
5
0
51
cPanel Access Level
DataCenter Provider
Hi,

how can I exclude specific rule globally on a WHM server?
I tried including this in modsec2.user.conf:

Code:
SecRuleRemoveById 340147 
SecRuleRemoveById 340148
without success.
Thankyou!
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Hi,

how can I exclude specific rule globally on a WHM server?
I tried including this in modsec2.user.conf:

Code:
SecRuleRemoveById 340147 
SecRuleRemoveById 340148
without success.
Thankyou!
Where in modsec2.user.conf did you include that?