Forum Moderators: phranque
I just tested it by adding a bad URL on another site and clicking the link to see it log correctly. Sorry for the confusion.
So now I'm wondering why I have so many 404 log entries without any HTTP_REFERER. Are these all produced by bad bots?
I block all such self-referring requests with a 403-Forbidden response. If that agent comes back again, then I'll block the IP address or their entire sub-net if it's a server farm... No time to bother with these leeches; my sites are for people to read and use, and that is all.
Jim