Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: “412 Precondition Failed” error  (Read 2169 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
“412 Precondition Failed” error
« on: February 16, 2014, 06:49:34 pm »
“412 Precondition Failed” error – Solved

If you encounter an error message “412 Precondition Failed” on a particular webpage of a website, it means that the requested page request clashed with one of the security rules implemented over the server. These rules are generally implemented to protect the websites hosted over the server from malicious activities.

The most likely cause of this response is a mod_security setting. The mod_security module will send this response when a portion of the web request data that one of our servers received is likely to be malicious.
Inorder to disable this security feature one must use the following .htaccess directive:-

SecFilterEngine Off


Note : If you have a WordPress based website hosted over the server and have Bad Behavior plugin installed which is active, then you must first try deactivating it. This plugin is a PHP-based solution for blocking link spam and the robots which deliver it, which usually causes such an error in WordPress.