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.
Thank you for your feedback!