Forum Moderators: coopster
mysite.com ww.xx.yy.zz - - [28/Oct/2008:19:08:22 +0000] "GET /layer1/layer2/foobah.jpg HTTP/1.1" 200 75761 "htt_://www.facebook.---/share_redirect.php?h=f9238e11650bc84e8fe8bf240becdeed&url=http%3A%2F%2Fmysite.com%2Flevel1%2Flevel2%2Ffoobah.jpg&sid=32340956599" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.30 Safari/525.13"
mysite.com ww.xx.yy.zz - - [28/Oct/2008:19:08:24 +0000] "GET /favicon.ico HTTP/1.1" 200 677 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.30 Safari/525.13"
I'm unable to verify what the source is attempting to do and in
quite what context my (stolen) image is being shown because I do
not possess one of their logins (nor do I particularly want one).
Is FACEBOOK known to advocate hotlinking?
RewriteCond %{REQUEST_URI} !(/static/¦/covers/)
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mysite.com.*$ [NC]
RewriteRule .*.[Jj][Pp][Gg]*$ /static/images/foobah.jpg [R=301,L]
RewriteCond %{REQUEST_URI} !(/static/¦/covers/)
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mysite.com.*$ [NC]
RewriteRule .*.[Gg][Ii][Ff]*$ /static/images/foobah.jpg [R=301,L]