19-10-2007, 09:10 | #1 |
Absinthe
Join Date: Sep 2007
Location: In the middle
Posts: 1,385
|
Website people, help needed
I'm trying to create a .htaccess file to only allow certain sites to use my images from my site. I think it goes something like this:
Code:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?boat-drinks.co.uk/.*$ [NC] RewriteRule \.(gif|jpg|png)$ http://www.somesite.com/nasty.gif [R,L] |