View Single Post
Old 02-10-2005, 06:06 AM  
My GTZ
Confirmed User
 
Join Date: Jul 2002
Posts: 604
Hopefully, I'm cool but I won't delete anymore. I just need to know how to protect the MPEG files from hotlinkers and such.

What is the correct way? Something like this:

RewriteEngine On
RewriteCond %{HTTP_REFERER} http://.*bandwidthhog.com/.*$
RewriteRule ^(.*)$ http://<your ip address>/

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://<your ip address>/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://<your ip address>:80/.*$ [NC]
RewriteRule .*\.mpg$ http://<your ip address>/ [R,L]
My GTZ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote