Hi Jim et al,
I get lots of hits in my server logs from forums. I don't think these folks are actually visiting my site, I think someone on the forum tried to hot link an image and whenever anyone accesses that page of the forum, the 403 appears in my logs from the hotlinked image. These hits seem to be blossoming.
One of the referers of this type of hit is dlisted.blogspot.com. Most of the hits also are from overseas IPs, such as Poland, Iran, Saudi Arabia, Russia, etc. I was blocking the IPs in htaccess, but I decided to try blocking the referer in htaccess like this:
# Return 403-Forbidden response for bad referers
RewriteCond %{HTTP_REFERER} dlisted\.blogspot\.com [NC]
RewriteRule ^ - [F]
To my surprise, all hits from that referer have stopped. I thought I would see more 403s. If I block all offending referers like this, would it stop all of them from showing up in my logs? Here are some examples of the referers I see:
cienporcientoperros.blogspot.com
forumoyorkach.proste.pl
www.guashan.com
globalmalaysians.com
Also, do I need to include the http:// or the www in the RewriteCond?
I appreciate your comments.
Jeannie