How do I deactivate a Modsecurity rule for a particular URL on OpenLitespeed?

sainikbiswas

Verified User
Joined
Oct 26, 2019
Messages
9
Hello, I have 2 questions, that I need help with

1> How do I deactivate a Modsecurity rule that was triggered for a particular URL which is a false positive. I was able to check the modsec_audit.log file to figure out that modsecurity was indeed that cause of the problem. But where do I make the necessary changes to so that the rule is not triggered.

2>I am getting a 403 Forbidden error when trying to modify phpMyAdmin. On checking that modsec_audit.log file, turns out it is also triggered by a Modsecurity Rule. How can I filter this rules?

Any pointers as to where to make this changes will be very helpful.

I am running the latest version of DIrectAdmin with OpenLiteSpeed 1.6.7 along with Modsecurity and the Comodo Ruleset.
 
Hello,

Tried SecRuleRemoveById ? If not, try it. Please search internet for more details.
 
Back
Top