Leaching,band width theft,hotlinking etc..

Basicly this is when you show pic's on your site using some one elses web server , so you do not have to store them.
To prevent this , some servers substitute the pic you wanted with an unwanted replacement using a .htaccess file

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /1.gi [L]

(1) begins the rewrite
(2) matches any requests from your own mysite.com url.
(3) allow google.
(4) allow google search cache.
(5) allow empty referrals.
(6) any files ending with the extension jpeg, jpg, gif, bmp, or png. is replaced by the 1.gi file
( ) This image is using the extension gi instead of gif to prevent blocking your own replacement image.
( ) (The [NC] code means "No Case", match the url regardless of case.)


For the sake of band width savings,,the best hotlink image is a 1 pixel by 1 pixel transparent gif
like this one
( the blinking pixel leads to the clear one )


But since the REAL idea is to piss off who ever hotlinked the image, webmasters waste resources, with huge pic's,,,
stupid isn't it

Hotlinking is something i am very guilty of,, so i thought, what image would be easyer to hotlink than the nasty hotlink notice image?
but,,now since i am TRYING to get pre-defined error images what will they replace it with :-)

By the way
google WONT filter the pornographic hotlink images
you have been warned
* C:\HOTLINKING\>cd.._