Help Center

How do I enable or disable ModSecurity in cPanel?

If you find that your website is showing a 403, 405, or 406 error, it’s very likely that some element of your site is being blocked by a ModSecurity rule.

ModSecurity is an application firewall. It blocks certain requests or code executions that it considers dangerous. You can configure ModSecurity to allow or block certain executions, depending on your website’s needs.

In the cPanel control panel, you can access the ModSecurity settings by following these steps:

  1. In the cPanel control panel, navigate to the option Security=>ModSecurity.
  1. On the new screen you’ll see your main domain and its subdomains. You can enable and disable ModSecurity for each one using the buttons on the right.