InMotion Hosting Support Center

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.

Support Center Login

Social Media Login

   
Social Login Joomla

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?
HTTP errors on uploading images with WP
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
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
11,186 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.
n/a Points
2014-08-08 8:00 pm
I disabled mod security on all my domains, as instructed in a support ticket, and it didn't solve the problem.
n/a Points
2014-08-31 6:27 pm

I followed the instructions but I am still recieving the an error message on my site. The error message Looks like:

"Error 406 - Not Acceptable

Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner." 

Staff
28,398 Points
2014-09-02 1:18 pm
Hello Janice,

If you are still getting the error, you will want to contact our Live Support team to have them take a look for the specific rule that is being violated.

Kindest Regards,
Scott M
n/a Points
2014-08-31 6:28 pm

I followed the instructions but I am still recieving the an error message on my site. The error message Looks like:

 

"Error 406 - Not Acceptable

Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner."

Staff
11,186 Points
2014-09-30 7:11 pm
There are some things which cannot be disabled due to them being critical security issues. Could you clarify what exactly you are trying to do when you get this?
n/a Points
2014-09-30 6:59 pm

Thanks for the article. Saved me from having to start a chat session! :)

n/a Points
2014-10-05 11:08 am

modsec is not where it should be under "security" in the cpanel. It is nowhere to be found. I need access to my site ASAP to update a post, but apparently it was under a "brute force" attack.

Staff
28,398 Points
2014-10-06 9:09 am
Hello Seth,

If you are not seeing the icon, you will want to contact Live Support so they can take care of that for you.

Kindest Regards,
Scott M
n/a Points
2015-04-27 3:32 am

Dear Admin, please help me out, am getting the below error while trying to access index.html though am using a free host.

412 Error

Your request got filtered out due to possible security issues.

One or more things in your request were suspicious (defective request header, invalid cookies, bad parameters)

If you think you did nothing wrong:

  • try again with a different browser
  • avoid any evil characters inside the request url

If you are the owner of the website, you can consider revising the rules of the mod_security module or turning it off from your Web Hosting Control Panel.

Staff
17,092 Points
2015-04-27 9:20 am
Hello Mike,

Thank you for your question. I recommend Finding and disabling specific ModSecurity rules.

Thank you,
John-Paul

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.

14 Questions & Comments

Post a comment

Back to first comment | top

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!