How to enable or disable Mod Security? Print

  • cpanel, security, web protection
  • 0

What is ModSecurity?

ModSecurity is an apache module that provide a mechanism to protect your websites from various web attacks. It is used to block commonly known exploits by using regular expressions and rule sets and is enabled on all Myduniahosting servers by default. OWASP ModSecurity ruleset are the most well known ruleset and it is enabled by default.

How to Enable and Disable ModSecurity?

1. Login your cPanel account using your cPanel credentials.

2. Browse to "Security" tab and click “ModSecurity” icon



3. You will be able to see the status of ModSecurity globally and also per domain basis. From here you can make changes based on account global or per domain.





4. Configure All Domains option is the configuration for your account global configuration. Toggle the button between Enable/Disable will Affect all domains under your account.

Enable means that ModSecurity is enabled globally for your cPanel accounts. All web traffics will be check based on ModSecurity rules.
Disable means that ModSecurity is disabled globally for your cPanel accounts. All web traffics will be bypass.



5. Configure Individual Domains option is the Modsecurity configuration for each domain. This option gives the flexibility to cPanel users to ovewrite the global configurations on per domain basis.

On means that ModSecurity is enabled for that specific domain. All web traffics will be check based on ModSecurity rules.
Off means that ModSecurity is disabled for that specific domain. All web traffics will be bypass.

Was this answer helpful?

« Back