View Single Post
Old 06-24-2007, 07:20 PM  
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
htaccess antihotlinking question

(I don't want to disable hotlinking completely.)

You can block individual sites by using this:

RewriteCond %{HTTP_REFERER} ^http://(.+\.)?site\.com/ [NC]

such as:

RewriteCond %{HTTP_REFERER} ^http://(.+\.)?fusker\.lv/ [NC]



but what if I want to block every site that has the text "fusker" anywhere in the url? How do I do that?
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote