Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to disable hotlinking to midi files

Status
Not open for further replies.

ffaucher

IS-IT--Management
Jul 31, 2000
102
0
0
CA
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 to disable hotlinking on 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top