NauticaX
07-04-2003, 11:01 AM
I know I can prevent most hotlinking by using the .htaccess. But my question is how can I find out who is hotlinking. I want to know what forum or site or the exact URL that is hotlinking my images. Is there anyway to find out? I checked my webalizer logs and it shows the forum but it does not show the exact page that hotlinked, thats what I would like to know if possible. Thanks.
serial
07-04-2003, 11:42 AM
tail your domains apache log and look for offenders. Or grep your logs for a specific file name you know are being linked to.
NauticaX
07-04-2003, 12:20 PM
Thanks for replying but I'm not too familiar with what you are talking about. what exactly is tail my domains apache log or grep my logs? The only 2 logs I see are xfer logs, custom logs, error logs.
serial
07-04-2003, 12:23 PM
tail -f /usr/local/apache/domlogs/domain.com
grep file.name /usr/local/apache/domlogs/domain.com | more
You may have to alter the abovementioned path depending on where apache stores your domain logs.
NauticaX
07-04-2003, 12:29 PM
serial,
ahhhh okay thanks. I guess I can only do that if I have shell access to my webserver which I dont think I do. I'll have to look into it.
Thanks again.