htaccess link protection, doesnt work!!! <--------
Posted by: doorsteppa
Posted on: 2006-09-07 11:43:00
ok, my site is www.halo-videos.com and i want to prevent direct linking to my videos (in /videos ) so.
i created my htaccess file, the code is below:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?halo-videos.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?halo-videos.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?doorsteppa.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?uploadcrap.com(/)?.*$ [NC]
RewriteRule .*.(mpg|wmv|mov|rm|avi|flv|mpeg|MPEG|WMV|AVI|MOV|RM|FLV)$ http://www.halo-videos.com/no_hotlinking_son.php [R,NC]
ErrorDocument 404 /error_pages/404.php
ErrorDocument 403 /error_pages/403.php
ErrorDocument 500 /error_pages/500.php
ErrorDocument 503 /error_pages/503.php
Options All -Indexes
this worked on my other site hosts but not with DH (wtf), ive tried using the "link protection" in the control panel and this also does NOTHING!!,
can anyone help ??