My weblog is constantly under a stream of spam attacks. Fortunately the attacks rarely hit a working script, because over the years I've renamed scripts and put commented-out forms on my pages which throw their spamming scripts off. However a number of spammers keep hitting these absentee scripts no matter whether they get a 404, 403 or other response.
So rather than bother with serving them a response, I'd like to close the connection without sending any headers or data in order to minimise the server impact and possibly give their scripts a more direct hint. Due to the nature of the hits, I can only detect them by the URL they hit.
Are there any Apache modules which could do this? I'm using Apache 1.3.37.