Htaccess Code
Hello, I have a swf that needs hot linking / anti-leech protection in the directory /forums/
I cannot have the htaccess in there as there is already a .htaccess in there with the following
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
So I need it to be in the root directory (public_html)
I need the htaccess to protect the player.swf located in /forums/ and to force www. on the domain name
Currently I am using this to do this
//ReWriteEngine on RewriteCond %{HTTP_HOST} !^www.DOMAIN.com [NC] RewriteRule ^(.*) //http://www.DOMAIN.com/$1 [L,R=301] RewriteCond %{HTTP_REFERER} !^http://(www.)?DOMAIN.com [NC] //RewriteRule .(swf)$ http://www.DOMAIN.com/forums/awc_ss.php?do=subscribe
I have it so if someone tries to hotlink it they get redirected…
When i use that, that breaks the function of the player.swf to firefox users, but it works fine for safari, IE, and chrome users. I need it fixed
Thanks, easy job



