Quote:
|
Originally Posted by My GTZ
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]
|
Cant do that with .htaccess
