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!

disabling of hotlinking to midi files

Status
Not open for further replies.

ffaucher

IS-IT--Management
Jul 31, 2000
102
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 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top