• Resolved goodwyne

    (@goodwyne)


    I’ve searched for this and found a couple of other posts concerning 412 Precondition failed errors but none on wp-commemt-post.php.

    This affects only one post and no others when attempting to comment on that post. All other posts seem to be fine. I can’t find anything wrong with the post itself. You can find it at http://roadsassy.com/index.php/2008/02/25/gee-free-toilets-thats-socialism-for-you-2/#respond.
    The post displays fine, the problem presents only when trying to comment on that post.

    I have no idea what the problem might be. What I’ve found on other posts didn’t help me much either. I thought it might be related to .htaccess but that seems fine. It’s the standard, WP default .htaccess with no modifications.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 1 of 2 things

    1. you are using bad behaviour, and its blocking it

    2. your host is utilizing mod_security, and thats blocking it

    Im betting its #2 since the permalink is a 412, also.

    If you change your post slug from free-toilets to freetoilets, I bet it works. (Just for a test)

    free- is a typical spam string ..

    Thread Starter goodwyne

    (@goodwyne)

    Thanks so much for the response!

    I’ve disabled Bad Behavior and changed the post slug and the problem is still there. Any other ideas? Maybe we need to contact our host.

    well sure, I can tell you how to disable mod_security, but it works better if theyre actually using it.

    You arent blocking any sketchy referers in your .htaccess, right? Not using any more bad referer, spam stopping plugins??

    Thread Starter goodwyne

    (@goodwyne)

    The .htaccess is stock WordPress. Nothing extra in it. The only other spam plugin is akismet and I never heard of it causing problems.

    I can tell you how to disable mod_security, but it works better if theyre actually using it.

    are they using it, ask your host, and if so, what version?

    Roadsassy.com is my blog. Sending Hosting Matters your questions about mod_security, they responded with this, which, i guess, means I can’t use the word socialism in my titles or posts. or something. Does this mean I am going to be deluged with spam?

    Yes, we do run mod_sec on every server. The problem is the word “socialism” in your post title. It contains the word “cialis” which is a favorite spammer subject, as you might know. I do not want to completely exempt your site from mod_security scanning, as that will mean you (and the server) won’t have that added layer of protection against the evil spammers, but there’s really no other way around it. Site exempted.

    Regards,
    Stacy

    Thread Starter goodwyne

    (@goodwyne)

    UPDATE:

    Well, mod_security was indeed the problem. The word “socialism” was in the title and it contains the word “cialis,” which seems overly cautious. The host has turned mod_sec off.

    Thanks for the assist. It really was a big help!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘wp-comments-post.php: 412 Precondition failed’ is closed to new replies.