View Single Post
Old 10-28-2002, 11:24 PM  
letshunt
Confirmed User
 
Join Date: Mar 2002
Location: Illinois
Posts: 196
I like to have my .htaccess file located in the root directory so that all images are protected throughout your server. Here is agreat .htaccess script, similiar to the one above, just witha few different whistles and bells

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*somesite.com/ [NC]
RewriteRule /* http://www.yoursite.com [L,R]
__________________
The object of war is not to die for your country but to make the other bastard die for his. -George Patton
letshunt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote