View Single Post
Old 2005-02-03, 05:41 AM   #1
Mr. Blue
Searching for Jimmy Hoffa
 
Mr. Blue's Avatar
 
Join Date: Jan 2005
Location: Long Island, NY
Posts: 771
.htaccess & hotlinking pictures

I was just reading over my stats for yesterday and saw quite a few people leeching by directly hotlinking. Should I just block the domains of the leechers or is there a better way to prevent hotlinking?

I was going to use this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?http://www.allhiphop.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?http://www.siccness.net/.*$ [NC]
RewriteRule .* - [F,L]

I've never had to do this on my regular webpages so this is a little new to me. Any help would be appreciated.
Mr. Blue is offline   Reply With Quote