(cPanel >> Home >> Security >> ModSecurity)


We strongly recommend that you enable ModSecurity™ for all of your domains. Only disable ModSecurity while you troubleshoot ModSecurity-related problems.

This interface allows you to enable or disable ModSecurity for your domains.

If you cannot access this interface from your cPanel account, ask your system administrator to perform the following steps in WHM:

  • Enable either of of the following options:
    • The mod_security2 option in the Apache Modules section of WHM's EasyApache 4 interface  (WHM >> Home >> Software EasyApache 4).
    • The Mod Security option in the Short Options List section of WHM's EasyApache 3 interface (WHM >> Home >> Software >> EasyApache 3).
  • Enable the ModSecurity Domain Manager feature in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).

Configure All Domains

To enable ModSecurity for all of your domains, click Enable.

To disable ModSecurity for all of your domains, click Disable. A confirmation message will appear. Click Disable All to disable ModSecurity.

Configure Individual Domains

You must enable ModSecurity under Configure All Domains before you can configure ModSecurity for individual domains.

To enable or disable ModSecurity for a specific domain, select On or Off.

In This Document

Related Documentation

For Hosting Providers