Disabling mod_security via cPanel Modsec Manager plugin

What is Mod_Security and why is it important

In apache web server Mod_security module helps to protect the website from various attacks. To block commonly known exploits by use of regular expressions, in our all servers we enabled the Mod_security by default.

In dynamic website, sometimes website users will forget to write code to help prevent hacks by doing things such as validating input. Mod_security can help in some cases those users that run sites that don't have security checks in their code.

http://www.your-domain-name.com/wp-login.php?user=userid'">DROP%20TABLE%20users--

This is a simple SQL injection where visiting this would cause the database to DROP and delete the users table from the database. If you are running Mod_Security on your server it will block this from running.


Below are the steps to follow to disable mod_security for one of your domains.

1. Login to cPanel
2. Under the Security section, click on Modsec Manager.
3. Wait for listing all the domains
For Configure All Domains: To enable or disable ModSecurity for all of your domains, click Enable or Disable.
For Configure Individual Domains: To enable or disable ModSecurity for a specific domain, select either On or Off.


Alternatively, if you only need certain select rules disabled instead of having it turned off for an entire domain, you can email to support[at]skylarkhost.com.

You should now know how to turn mod_security on and off for any of your domains that might be encountering problems relating to it being enabled by default.

***Once mod_security is turned off for an account, we will not take any responsibility of hacking the domain, database hacking, data manipulation and other activities which mod_security can prevent.

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Create MySQL Database and DB User. Connect MySQL DB and DB User

To create a MySQL database and user Step#1. Log into your cPanel control panel. Step#2. Click on...

How to force HTTP to HTTPS Automatically

First make sure Free SSL is installed in your hosting account. How to verify the SSL activated,...

How to add Multiple Domains in a single CPanel Account

You can add multiple domains in the single cPanel account with our premium packages.  Follow the...

Step by step instructions to take full backup in cPanel

Follow the below step by step instructions to take full backup in cPanel: Step1:Log into...

Powered by WHMCompleteSolution