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.

  1. Login to cPanel
  2. modsec-managerUnder the Security section, click on Modsec Manager.
  3. modsec-manager-default-onmod_security will be on by default for all your sites, shown by a checkmark beside them.
  4. modsec-manager-update-offRemove the checkmark beside the domain you wish to turn mod_security off for, and click Update.
  5. modsec-manager-completeYou should now see that mod_security was disabled for the domain you selected.
  6. modsec-manager-disabledIf you have mod_security disabled, you'll see a blank checkbox beside the domain.
  7. modsec-manager-update-onTo enable mod_security on a disabled domain, place a checkmark beside the domain and click on Update.
  8. modsec-manager-enabledYou 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.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
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.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Mod_Security Error in Drupal Install
The mod_security error on the server?
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!