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.

Disabling Mod Security

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

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

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

Did you find this article helpful?


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

disabled modsec but still get 406 error

2,342 Points
2014-04-14 10:18 am
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.
n/a Points
2014-07-09 1:25 am
the article would be correct however mod_security can't be disabled on my site. I keep getting an 'Error disabling mod_security" error
3,713 Points
2014-07-09 1:34 am
Hello Jami,

If you are having issues with a ModSecurity rule, and running into issues disabling it. Please be sure to submit a verified ticket explaining the issue you're having so that our system administration team can review that is going wrong that it won't let you disable it.

- Jacob
n/a Points
2014-09-11 11:33 pm

My website is now completly down after I did this :

"WordPress admin access via restricted IP" 

and then changed

Temporarily disable ModSecurity on your account.

What do I do ? I cant get to the admin or even view the website?

16,266 Points
2014-09-12 8:43 am
Hello Katie,

I checked your site and it seems to be working correctly. I looked in the logs for the ModSecurity errors and saw that the server was having an issue with the images coming from photobucket. The way they come across looks like a possible attack to the server. The other error I saw was just the normal 15 min block occasionally placed due to attempts to log in and failing too many times.

Kindest Regards,
Scott M

Post a Comment

Email Address:
Phone Number:

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: 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.