Forum Moderators: coopster

Message Too Old, No Replies

redirection from facebook

...I'm not a facebook fan nor one of hotlinking

         

piran

8:30 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



I don't 'do' FACEBOOK at the best of times.
When said site starts (ab)'using' my images, I'm a photographer,
this ambivalence is rather liable to turn to one of hostility.
<access log>

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?

StoutFiles

8:34 pm on Oct 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can throw a line or two of code in your .htaccess file to prevent all hotlinking. I don't remember the syntax offhand though, the admin(s) of the apache forum would know.

piran

9:34 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Noted. Have never found those lines to be of any use.
For instance despite the following being resident in
the site's .htaccess file I still had the stuff
earlier reported in this thread's starter posting.

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]

FWIW my site is a TLD and without any preceding www,
I operate the hosting server right here beside me and
have appropriate access to the httpd.conf file.

Little_G

10:07 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Hi,

The referrer you are getting is from the share_redirect.php script which means your image is not being included in a Facebook page but linked to directly.

Andrew

piran

10:39 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Noted too. So a clicker sees my image shown onscreen but without
any FACEBOOK stuff and without any added value to my site either.
My bandwidth is used. Not a particularly good deal for me really.
I don't 'value' links very highly. May substitute something more
appropriate to quite what I think of the escapade and perpetrators.