Disable mod_security via cPanel Modsec Manager
In this article we'll discuss disabling mod_security on your account via our Modsec Manager plugin for cPanel.
If you don't know what mod_security is, you might want to first check out our article on what is mod_security and why is it important.
Also you might be getting 406 Non Acceptable Error Messages from having mod_security enabled as well.
Below are the steps to follow to disable mod_security for one of your domains.
Note! You may not have the option to enable or disable mod_security in your cPanel on VPS or Dedicated servers. To disable mod_security on accounts that don't have the option in cPanel, you will need to use command line via SSH or contact tech support to disable/enable it for you.
- Login to cPanel
- Under the Security section, click on Modsec Manager.
- mod_security will be on by default for all your sites, shown by a checkmark beside them.
- Remove the checkmark beside the domain you wish to turn mod_security off for, and click Update.
- You should now see that mod_security was disabled for the domain you selected.
- If you have mod_security disabled, you'll see a blank checkbox beside the domain.
- To enable mod_security on a disabled domain, place a checkmark beside the domain and click on Update.
- You should now see that mod_security was enabled for the selected domain.
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.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-07-18 9:35 am
i am searching the mod_securty on cpannal i upload the vedio in admin pannal so find the error in my cpannal modsec option not appere Not Acceptable
An appropriate representation of the requested resource /admin/manage_conditions.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
2014-07-18 10:49 am
This error is indeed typically caused by mod_security. We recommend using the Modsec Manager described in this article to turn mod_security off.