6
I am using this code, works for me.. you can check my site (
Doble-H.com ) right now i have more than 1000 files and is increasing..
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www.)?example.com(/)?.*$ [NC]
RewriteRule getfile.php$ http://www.example.com/index.php [R,NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://example.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.example.com$ [NC]
RewriteRule .*.(mp3|wma|wmv)$ http://www.example.com [R,NC]
this code works only with external links but doesn't work when somebody just write the URL in the browser so is not 100%secure but helps a lot.
PD: Frankblack thanks for this module and i'm waiting for the new version...
laterz