Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 7 of 7

This is a discussion on Tracking Hotlinkers... in the Shared & Semi-Dedicated forum
Is there a way to track the page where your images are hotlinked from? And then save the log automatically somewhere? ^^ I've been looking ...

  1. #1
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471

    Tracking Hotlinkers...

    Is there a way to track the page where your images are hotlinked from? And then save the log automatically somewhere? ^^

    I've been looking at my statistics page and a lot of them are being hotlinked to forums, etc etc...

    Only problem is that I've used that antihotlinking in the .htaccess, but internet security software seems to lets the pictures load... making the .htaccess solution fail... ;_; Blah.

    Blah, looked at the other threads, looks like there's no new way to do antihotlinking... ^^

    It would be nice if you could block people that try to view images if they come from that link source, but then that's what the URL referring is probably... ^^;;;
    Last edited by kiwi li; 09-17-2005 at 03:39 AM.
    If you see me posting, there must be bad news. ^^

  2. #2
    coin operated boy Rye Seronie Oh's Avatar
    Join Date
    Mar 2005
    Location
    Crosby, TX
    Posts
    125
    You can see the referrer in your stats. If the person is running software that blocks the sending of the referrer, then there really isn't much that you can do, that I know of. Unless you do like Yahoo does where it uses a script that generates a hash that is valid for a set amount of time and then expires. You then have to go back and follow the link to the picture again to view it. I don't know if anyone here would know how to code such a script.
    Ryan Ottele
    Web: http://www.sparkeh.com/
    Mail: ryan.ottele[[@]]gmail.com

  3. #3
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471
    Nod. I wish that there was a way around it. ^^ Also, I'm getting this in my access logs... are they the same as a no referrer code or am I able to block things like this:

    Instead of showing the URL of what file is being shown, it shows this:

    XXXX:+++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++ +++++++
    If you see me posting, there must be bad news. ^^

  4. #4
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471
    This is what I have right now: For some darned reason, whenever I upload and test it, it always shows me the stolen.gif... I dunno what I'm doing wrong on it... >.<

    Options -Indexes

    <Files avatar.gif>
    ForceType application/x-httpd-php
    </Files>

    <Files avatars.gif>
    ForceType application/x-httpd-php
    </Files>

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yurisakazaki.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://ryokochan.kiwichan.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?warsongpact.com(/)?.*$ [NC]
    RewriteCond %(HTTP_REFERER) !^http://boards.cityofvillains.com(/)?.*$ [NC]
    RewriteCond %(HTTP_REFERER) !^https://boards.cityofvillains.com(/)?.*$ [NC]
    RewriteCond %(HTTP_REFERER) !^http://boards.cityofheroes.com/(/)?.*$ [NC]
    RewriteCond %(HTTP_REFERER) !^https://boards.cityofheroes.com/(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yurisakazaki.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?kiwichan.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?legionofcatgirls.com(/)?.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?kiwichan.com(/)?.*$ [NC]
    RewriteRule ^.*\.(gif|GIF|jpg|JPG|swf|SWF)$ http://www.kiwichan.com/temp/stolen.gif [NC,R,L]

    <Files *.html>
    ForceType application/x-httpd-php
    </Files>
    If you see me posting, there must be bad news. ^^

  5. #5
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471
    I seemed to fixed it and it works now.. ^^;;

    Options -Indexes

    <Files avatar.gif>
    ForceType application/x-httpd-php
    </Files>

    <Files avatars.gif>
    ForceType application/x-httpd-php
    </Files>

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yurisakazaki.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?ryokochan.kiwichan.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?warsongpact.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?boards.cityofvillains.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?boards.cityofheroes.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?kiwichan.com.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?kiwichan.net.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?kiwichan.org.*$ [NC]
    RewriteRule \.(gif|GIF|jpg|JPG|swf|SWF)$ http://www.kiwichan.com/temp/stolen.gif [F,NC,R,L]

    <Files *.html>
    ForceType application/x-httpd-php
    </Files>
    If you see me posting, there must be bad news. ^^

  6. #6
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471
    BLAH, another question... I'm trying to get hotlinking to work in all of livejournal... but -

    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?livejournal.com.*$ [NC]

    It's okay with livejournal

    http://tinyfroglet.livejournal.com/friends?skip=20

    It's not okay with trying to link to this one though... ^^;;; I dunno what I'm doing wrong for this one... ^^;;
    If you see me posting, there must be bad news. ^^

  7. #7
    Rawr! kiwi li's Avatar
    Join Date
    Sep 2002
    Posts
    471
    I think this is the right way to do this? ^^

    RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?livejournal.com.*$ [NC]
    If you see me posting, there must be bad news. ^^

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •