I recently setup a Movabletype weblog and I encounter the following entries in my access_log:
QUOTE
211.195.218.177 - - [12/Jan/2006:16:26:38 +0100] "GET /cgi-bin/mt-comments.cgi?entry_id=19 HTTP/1.1" 200 2086 "http://online-poker-tournaments.birchfieldharriers.org/" "Mozilla/4.0 (compatible; MSIE 5.0; Windows ME) Opera 5.11 [en]"


This is obviously spam, and they apparently try to find commentforms. The thing is, that there is no such entry with id 19, but still a 200 OK HTTP response is given, causing the webstatistics software (in this case: Webalizer) to count this hit towards the totals. Because there are many entries like these, this has an unwanted impact on the statistics. Is it possible for Movabletype to give a 404 Not Found response when mt-comments.cgi is requested with an invalid entry_id?