When ModSecurity blocks a legitimate request Print

  • modsecurity, 403, 406, firewall, security
  • 0

ModSecurity is a firewall that checks requests to your site against a rule set and blocks anything that looks like an attack. It protects you well, but sometimes it blocks something harmless, such as saving a long post or uploading a plugin.

How to recognise it

  • A 403 Forbidden or 406 Not Acceptable page appears for an action that normally works.
  • It happens at the same step every time, and only when submitting a form or request.

Check it quickly

  1. In cPanel open ModSecurity.
  2. Switch it off for your domain with the toggle, then try the action again.
  3. If it now works, switch ModSecurity back on straight away.

Do not leave it off. It is part of what keeps your site safe.

Get a lasting fix

Open a ticket (Opening a support ticket that gets answered quickly) and include the domain, the exact action, the time (with your time zone) and your public IP address. With those we can find the rule that triggered and adjust it for you.

If it doesn't work


Was this answer helpful?

« Back