Thread: Anti Hotlinking
View Single Post
Old 2008-11-14, 01:43 AM   #1
Mr Spock
You can now put whatever you want in this space :)
 
Mr Spock's Avatar
 
Join Date: Nov 2006
Location: Vulcan
Posts: 695
Anti Hotlinking

To stop hotlinking put the follwong code in my htaccess ,

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?fotopiccanti.it [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://.*$
RewriteRule \.(jpe?g|gif|bmp|png)$ - [F]


What it ended up doing was block all images on my server , so if I made a freesite - the images that I hosted on my server would not appear, any idea why?
Mr Spock is offline   Reply With Quote