I want to Acces js/jquery.cookie.js in my website and I get error:
An error has occurred. 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.
I can't see an option to disable mod_security from cPanel.
I have tried http://www.inmotionhosting.com/support/website/modsecurity/find-and-disable-specific-modsecurity-rules . I can do the first step and second one. I can see similar kind of results for the jquery.cookie.js file. But can't disable it, as the 3 command says no such file or directory.
When following step <strong>3</strong> on those instructions, did you also read and follow this part?
<p class="alert" style="margin-bottom: -10px;">Note that when we use <strong>>></strong> this is going to append the rule to our ModSecurity configuration file, so we don't overwrite any previous rules we've allowed as well. If you don't already have your ModSecurity configuration file included in your Apache configuration, be sure to follow my guide on how to <a href="/support/website/website-troubleshooting/disable-modsecurity-for-a-domain" target="_blank">enable ModSecurity include and create a configuration file</a> which covers this.<br><br>It's also <strong>important</strong> to remember you can't have the <strong>SecRuleEngine Off</strong> rule still in your ModSecurity configuration file if you're just disabling specific rules, as it will completely turn off ModSecurity.</p>
What's the domain name you're having these issues with?
I was unable to locate an account with the email address you've submitted this question under, so I couldn't fix this for you.
You should be able to <a href="http://www.inmotionhosting.com/support/website/modsecurity/disable-mod-security-via-modsec-manager" target="_blank">disable ModSecurity via the ModSec manager in cPanel</a> if you're on a shared hosting account. Or you can <a href="http://www.inmotionhosting.com/support/website/modsecurity/find-and-disable-specific-modsecurity-rules" target="_blank">find and disable specific ModSecurity rules</a> if you're on a VPS or dedicated server with <a href="http://www.inmotionhosting.com/support/website/ssh/root-access-faq" target="_blank">root access</a>.
Please let us know if you still had any further questions at all.
I read the note too. Anyways, I have got it fixed now by support. Thanks.