View Single Post
Old 07-15-2004, 04:33 PM  
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
ok this code is working well..

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?xxxxxxxx.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ http://www.xxxxxxxx.com/images/nohotlink.jpg [R,L]


but instead of blocking all domains that hotlink. except mine.. I would like to be able to block only specific ones... otherwise, it seems like it may block some legitimate traffic such as users behind proxies or privacy firewalls..

Anyone knows how to modify the code above and include a command to block certain domains..?
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote