Algirdas Varnagiris


406 Not Acceptable error

Posted in Internet, Technology by Algirdas on the July 3rd, 2007

This is an error I got today:

406 Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server.

I saw it for the first time and tried to find out where’s the problem. And the problem was in Apache mod_security. I have disabled mod_security specific to resolve the 406 errors. Sometimes mod_security rules are too strict for some web applications.

In order to disable mod_security add this line to .htaccess file: SecFilterEngine Off



Leave a Reply

You must be logged in to post a comment.