Knowledgebase
Disable mod_security - how to whitelist a domain
Posted by PremiumReseller.com on 24 November 2009 02:36 PM

How to disable mod_security for a domain?

You receive 406 error (Not Acceptable) when browsing website.

Website url is blocked by mod_security.

The common reason is the url you try to access has encoding utf8 characters similar to hacking attempt.

You can try to configure mod_security Off in .htaccess file

SecFilterEngine Off
SecAuditEngine Off

If your host does not allow htaccess configuration, you need to request support to disable mod_security by using the following rule

SecRule SERVER_NAME "yourdomain.com" phase:1,nolog,allow,ctl:ruleEngine=off

(226 vote(s))
This article was helpful
This article was not helpful