Search For Answers
Circumvent 406 errors
Last updated: March 28, 2011
Receiving a 406 (Not Acceptable) error is a result of mod_security blocking certain strings in your URI query. ModSecurity supplies an array of request filtering features for the Apache(HTTP) webserver.
Identifying the string and potential solution is ideal vs disabling mod_security altogether, but the option is available by adding the following to an .htaccess in either your public_html/ (home directory) or the /home/user/public_html/directory_in_question/.htaccess
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
You may also want to clear browser cache prior to refreshing.