Hi,


To fix Fix 406 or Not Acceptable Error Using .htaccess


When someone types an address of a website on the browser, the web browser sends a request to the server in the form of “Accept Header,” and when the server doesn’t find any file type browser asks, it displays 406 error.

Most of the times, the error occurs due to mod_security, a protocol web hosting companies apply to protect a website. If it tracks any violation of the rules, a 406 error or not acceptable error is shown on the screen.

You have to add the code to the .htaccess file.

<IfModule mod_security.c> 
SecFilterEngine Off 
SecFilterScanPOST Off 
</IfModule>