Help Center

How to enable or disable ModSecurity in cPanel?

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

ModSecurity is a web application firewall. It blocks certain requests or code executions that it considers dangerous. You can configure ModSecurity to allow or block certain executions, according to the needs of your website.

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

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