Hotlinking and .htaccess

I am trying to prevent people from linking directly to the files that I have for download...

So I am using the following code in the htaccess file..

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain1.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?forum.domain.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain2.com(/)?.*$ [NC]
RewriteRule .*\.(zip|ZIP|dll|DLL|ocx|OCX)$ http://www.domain.com [R,NC]

Now I tested this and it works fine in IE based browsers. If you have a link directly to a file from an outside site it takes you to the specified domain instead. However it wont work in Mozilla Firefox, it still lets you download the file. Why? How can I fix it?

Thanks

 

 

 

 

Top