In this article we'll discuss disabling mod_security on your account via our Modsec Manager plugin for cPanel.
 
You might be getting a 406 Not Acceptable Error Messages from having mod_security enabled, so in some cases you might want to disable it to avoid this.
 
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.
    modsec-manager
  3. mod_security will be on by default for all your sites, shown by a checkmark beside them.
    modsec-manager-default-on
  4. Remove the checkmark beside the domain you wish to turn mod_security off for, and click Update.
    modsec-manager-update-off
  5. You should now see that mod_security was disabled for the domain you selected.
    modsec-manager-complete
  6. If you have mod_security disabled, you'll see a blank checkbox beside the domain.
    modsec-manager-disabled
  7. To enable mod_security on a disabled domain, place a checkmark beside the domain and click on Update.
    modsec-manager-update-on
  8. You should now see that mod_security was enabled for the selected domain.
    modsec-manager-enabled

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 Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Comments

n/a Points
2014-04-14 3:00 am

disabled modsec but still get 406 error

1,155 Points
2014-04-14 10:18 am
JeffMa
Staff
If you have disabled mod_security and are still getting a 406 error with it still turned off, you may want to contact technical support with details on how to replicate the issue to further investigate.

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:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.