Thread: Chinese in here
View Single Post
Old 10-22-2012, 07:45 AM  
Struggle4Bucks
Sieg Hi!
 
Struggle4Bucks's Avatar
 
Industry Role:
Join Date: May 2011
Location: Lissabon
Posts: 3,615
Quote:
Originally Posted by pinkz View Post
use .htaccess to block them

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://i.imgur.com/hotlinker.gif [L]

the last line displays a custom image hotlinker.gif which you can obviously put a warning message on.
Thanks... someone else also pointed me to .htacces
Is it a lot work for a programmer to do that?
Also... does it work to unburden the server? I mean...
Not showing the picture is something else then not making the request
for that picture on my server? If a request does not serve the pictures
but the requests itself put a lot of pressure on the server then what would be the point?

Im not a computer guy... any info would be great!

Thanks...
__________________
Half troll half amazing!
Struggle4Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote