View Single Post
Old 05-17-2003, 03:39 AM  
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Quote:
Originally posted by arial
Add this to your .htaccess (remove the spaces after the < )


SetEnvIfNoCase Referer "^http://site.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.site.com/" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
< FilesMatch "\.(gif|png|jpe?g|mpg|mpeg|avi|wmv)$">
Order Allow,Deny
Allow from env=locally_linked
< /FilesMatch>
I hope you're aware that the method you're using is completely useless when attempting to prevent hotlinking of video media files. The media players don't send a referring url to the host. So, even with that .htaccess in place, people will still be able to hotlink your movies. *as far as i know*

Someone correct me if i'm wrong.
__________________
26 + 6 = 1
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote