500 error messages in server log for wp-comments-post.php
In my server log I have a lot of POST requests for wp-comments.php that generated a 500 Internal Server error.
18.104.22.168 - - [25/Nov/2012:12:05:49 +0000] "GET /some-page-on-the-blog.html HTTP/1.0" 200 39992 "http://www.domain.com/some-page-on-the-blog.html#comment-134277" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.27 Safari/536.11" 22.214.171.124 - - [25/Nov/2012:12:06:37 +0000] "POST /wp-comments-post.php HTTP/1.0" 500 3151 "http://www.domain.com/some-page-on-the-blog.html#comment-134277" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.27 Safari/536.11"
The request for a normal page is made, and then the POST request for making a comment is made. I have checked a few of these error messages in the log, and there is always something strange with them that makes me think it is bots getting these errors and not real people:
1. Sometimes the POST request is made 2 seconds after the page request – a real person wouldn’t do this.
2. In the other cases (like above) the first page request already has a comment id fragment (not sure why?) on it.
I do get real comments on the site (as well as loads of spam ones) and commenting works when I tested it.
If it is just bots getting these errors, then I’m not bothered about them. But it is difficult to be sure from my logs, anyone else having the same issues or have any ideas on this?
(P.S. The fact the request is logged as HTTP/1.0 is down to my webhost, it doesn’t mean the real request was actually HTTP/1.0)
- The topic ‘500 error messages in server log for wp-comments-post.php’ is closed to new replies.