Child pages
  • ModSecurity
For cPanel & WHM version 78

Skip to end of metadata
Go to start of metadata

(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 the mod_security2 option in the Apache Modules section of WHM's EasyApache 4 interface (WHM >> Home >> Software EasyApache 4).
  • 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.