With PHP it works fine indeed. But not all FastCGI daemons report errors (such as 404) the right way or report them at all.
About the spam message: I can tell you what probably went wrong, but I'm not going to post it here because then spammers can read about my anti-spam technique. Please,
send me an e-mail and I'll tell you in the reply.