Here is a problem I have been running into lately. Its a bit long and complex but I am hoping someone who is really good at .htaccess can help....
I run a news website and like to keep track of Referers. Sometimes a certain referer will show up 25 or 30 times in quick succession and I was always wondering how this could be. Now I know....
It seems there are a couple of websites out there who simply take the source code to an article on our site, make a few changes and basically capture the story into their own website. I am thinking the multiple referers of the same source we are getting is from each time they attempt to grab an image off of our server.
Attempting to get our images does not work for them since our .htaccess file already protects our images.
Here is the relevant .htaccess as it now stands:
SetEnvIfNoCase Referer "^http://www.mysite.com/¦^http://mysite.com/" local_ref=1
# set the one below if firewall or ad prevention software is a concern. Otherwise they will not be able to see your images
SetEnvIfNoCase Referer "^$" local_ref=1
Allow from env=local_ref
Thank you in advance.