View Single Post
Old 08-21-2006, 07:41 PM  
elron
Confirmed User
 
Join Date: Jul 2003
Posts: 1,553
Quote:
Originally Posted by unmgroup
"the problem is windows media player doesnt pass along referrer so if you stop hotlinking of movies you will also stop people in browsers not passing along referrer"
then this is your solution :

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com [NC]
RewriteCond %{HTTP_REFERER} !^http://yoursite.com [NC]
RewriteRule .*[Aa][Vv][Ii]$|.*[Mm][Pp][Gg]$|.*[Ww][Mm][Vv]$ / [F]


this will just block hotlinking from actuall urls and will allow local hotlinking + media players
elron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote