How does the spammer generate so many hits then? I could just block his IP number?
A common trick is to include an image tag in one the spammer’s most popular pages and the SRC tag of this image will refer to your web site’s home page. No image is loaded, but every visitor to the spammer’s site will generate a hit on your site that is logged by your server. Assuming that the spammer already has some decent traffic going, that way many distinct IP numbers will flood your log file. And of course spammers won’t be shy when it comes to using real dirty tricks like spyware, adware etc. A virus or other malware, maybe pretending to be a toolbar can generate such http requests easily and the user will never know. You can block those spammers by using Apache’s mod_rewrite. Put the following in your .