Reputation: 1
I would like to adapt the administration urls of my wordpress site so that they work with modsecurity rules. Indeed, I use a waf which manages incoming traffic. Modsecurity is installed on waff. Also, I don't have access to this waf, just to my back server. I use apache
Upvotes: 0
Views: 205
Reputation: 295
CRS dev-on-duty here. You're probably talking about OWASP Core Rule Set rules. This ruleset is often used for ModSecurity WAFs. The Core Rule Set offers a Wordpress exclusion package that should help you fight with false positives. You can activate this exclusion package in your crs-setup.conf.
However, a blocked request is normally not blocked with an HTTP status 406, but with a HTTP status 403. So it's probably not the WAF that raises your error.
I'd like to support you find out if it's the WAF that blocks you, but unfortunately, you did not include enough information for us to actually help you.
Please provide the following if possible:
ATTENTION: When submitting logs, please remove all personal information like IP addresses, hostnames, passwords, etc. We'll be happy to have a look afterwards. CRS dev-on-duty.
Upvotes: 0