Thread: htaccess?
View Single Post
Old 12-05-2007, 02:00 PM  
strongdong
Confirmed User
 
Join Date: Sep 2003
Posts: 191
Quote:
Originally Posted by V_RocKs View Post
Depends on are you going to have a white list or a black list?


In any case, here is mine:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?rhinosthumbs.com(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?rhinoslinks.com(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?americastgp.com(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?gofuckyourself.com(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+)?yahoo.(.+)(/)?.*$     [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+)?google.(.+)(/)?.*$     [NC]

RewriteRule .*\.(flv)$ - [F,NC]
Notice mine is a white list of allowed sites.
so this allows hotlinking from those sites, but disallows it for all others?
strongdong is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote