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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Comments

Post a comment
n/a Points
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.



Staff
7,372 Points
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.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201635

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!