Thread: image hotlinker
View Single Post
Old 2004-01-23, 11:58 AM   #17
abe
Just because I don't care doesn't mean I don't understand!
 
Join Date: Sep 2003
Location: Belgium
Posts: 99
MrMagoo. I post a lot of tgp's too. If you're still interessed, here is the htaccess I use (in the root):

ErrorDocument 401 /error.htm
ErrorDocument 403 http://abesbeauties.com/e403/index.htm
ErrorDocument 404 /error.htm
ErrorDocument 408 /error.htm
ErrorDocument 500 /error.htm

Options -Indexes

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://abesbeauties.com [NC]
RewriteCond %{HTTP_REFERER} !^http://www.abesbeauties.com [NC]
RewriteRule .\.(mpg|mpeg|avi|jpg|gif)$ - [F,L]

RewriteCond %{HTTP_REFERER} ^.*DOMAIN-I-DONT-WANT.com/.*$ [NC]
ReWriteRule .* http://PAYSITE-URL-WITH-MYSPONSORCODE [R,L]



RewriteCond %{HTTP_USER_AGENT} ^Wget.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^AbachoBOT.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^Email.Extractor.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper.*$
RewriteRule /* - [F,L]

I don't have any problems with tgp's as I don't redirect their traffic on the galleries.
What I do is redirect hotlinkers and a few domains (like the DOMAIN-I-DONT-WANT).
The latter domain is of course not a tgp domain . But galleries often get picked up by for instance non-english sites that sucks your bw without any change of return.
Hotlinkers goes to a little popup-hell with a few popunders. That domains I don't want goes directly to a paysite (bad ratio, but I make money from them). But you must be sure that the paysite accepts this kind of redirect (I think not all does).
I have been thinking a lot of that whether it was unethical or not. But my conclusion was that this is a legal form of self-defence

Urb. I don't think that tgp scripts can read htaccess'es like this. But I have 2 tgp's whom script's say they find a 302 on my gallery (and there isn't). I immediately thought on my htaccess and toke it down. But they still found that 302.

Cleo. I didn't thank you before. But I toke that 'Options -Indexes' from a post of you on this board in another thread. This is a real time savier. Much easier and safer then all these dummy index.html's.
abe is offline   Reply With Quote