WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to write a post about a simple Windows Powershell script for the last few hours, but when I try to preview the post with the script included, it takes down my server.

Unfortunately the server isn't mine to control (it's hosted by 34sp.com) so I'm limited in what I can do to diagnose the issue - I'm not sure where I'd start anyway.

The problem seems to stem from including the following lines in the post :

    $camera_getid.Parameters.Add("@CameraGUID", [System.Data.SqlDbType]"NVarChar").Value = $guid;

I'm having trouble narrowing down the problem precisely, since every time it happens, my server is down for about 5-10 minutes.

Has anyone seen anything similar?

share|improve this question
up vote 4 down vote accepted

Wordpress, by default, has no problem with such a content. It won't crash your server. And I think in fact this does not crash your server as well.

I think your server has some webapplication firewall configured. Such a firewall checks each request for malicious data that are assumed to be triggering exploits or introducing payloads to the server or installed applications.

Those firewalls are often configured with a blacklist that is "best guessed". This means, they do block requests that are valid as well, because such a firewall can not differ between a valid or invalid request.

Some of those webapplication-firewalls are also interfaced into IP based firewalls. So on seeing a malicious request they block your computer accessing the server for a certain period of time, e.g. 5 to 10 minutes.

Please contact your server administration and ask them if such a firewall exists because you have got problem to post (as in HTTP POST METHOD) the content you named to your host. They should be able to reconfigure the firewall and tweak the rule that is the cause of the false positive.

share|improve this answer
Wow...I would never have considered that. I shall poke them and see what they say. – adhocgeek Jan 6 '11 at 14:38
You were absolutely right, it was a ModSecurity rule. – adhocgeek Jan 6 '11 at 14:56
Well as normal :) Regarding WP and ModSecurity see my technical installation checklist as well: codex.wordpress.org/User:Hakre/… - sorry for not naming it earlier, it links some .htaccess based fix. – hakre Jan 6 '11 at 15:25
Wow...good call! – MathSmath Jan 6 '11 at 18:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.