one quick way to resolve this is to put the following in a .htaccess file in your root directory:
This will disable mod_security for your domain.
Note: some times we will need to disable mod_security for you in the main Apache configuration file and it might not work in your case.
once you disable mod_security you are no longer protected from referrer and comment spam.
when mod_security is disabled you can troubleshoot this by looking through your logs to see what rules are being triggered. when you know what rules are being triggered you can selectively turn them off to get everything work again
for example let's say you find a URL on your site creating the following error:
The precondition on the request for the URL /path/abc.php evaluated to false
add the following to an .htaccess file:
SecFilterSelective "REQUEST_URI" "/path/abc.php" "allow,nolog"
Sometimes the 412 error can also occur when posting something to your site via a form, like when the content contains a specific word like “sex”.
In this case you would add the following to an .htaccess file:
SecFilterSelective "POST_PAYLOAD" "sex" "allow,nolog"
- 0 Users Found This Useful
If you do not see windows Shared Hosting in our plans you can still contact us.We want to cover...
Yes, Depending on the hosting plan you order we might offer cpanel too. If we offer cpanel on a...
We are more than happy to discuss any difficulties that you are having, if you feel after this...
Although many different types of shared hosting are available, UNIX/Linux and Windows hosting...
Because of the limited resources and economical price of a shared web hosting plan, it is often...