Here is the .htaccess file I put in my root:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|mid)$ - [F,NC]
I works for disabling hotlinking to images files(gif,jpg,jpeg,bmp) but not for mid. The most important for me is to disable hot linking to midi files in my site (all my midi files have the .mid extension). I would greatly appreciate help on how to achieve that.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|mid)$ - [F,NC]
I works for disabling hotlinking to images files(gif,jpg,jpeg,bmp) but not for mid. The most important for me is to disable hot linking to midi files in my site (all my midi files have the .mid extension). I would greatly appreciate help on how to achieve that.