Neil Turner's Blog

Blogging about technology and randomness since 2002

Unacceptable Behaviour

When using MT’s QuickPost bookmarklet to post an entry on Smaller World just now, I got this error message from Apache:

Not Acceptable
An appropriate representation of the requested resource /scgi-bin/mt/mt.cgi could not be found on this server.

The HTTP error code was 406, which I’ve never seen before. incidentally it was caused by some character entities in the page title being passed in the URL that MT didn’t seem to like.

2 Comments

  1. 406 probably means that mod_security mis-interpreted the post as a possible hack/crack attack. If you drop a copy of the post to your web hosting company, they’ll probably be able to identify which mod_security rule was flagged and tweak as appropriate (for example, if the post had the string “wget%20” in the query string, it may have been blocked for an attempt to run the wget script).
    mod_security can be handy to block hack/crack attempts (such as the recent phpBB Sanity attack), but occasionally you do get “false positives” flagging up.

  2. I think you’re just a bad boy. ๐Ÿ˜€