Spider bots and megabytes
So all of a sudden the bandwidth usage for raverX.org goes from about 2gb/month to 14gb/month and I'm thinking "wow, what the hell have I got that could generate that sort of traffic"..
Turns out there are a bunch of MP3 search engines now indexing my mixes since I added the menu link to them. I hadn't even considered what adding the link on the main site would do, figuring that not many people come via here anyway.
Turns out "Michael Jackson - Billie Jean" - part of one of my mixes - is a very very popular song. How ironic.
Anyway, a quick bit of code has made it so there can be no more hotlinking of my MP3's, unless they come from one of the websites or forums I typically post stuff to.
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?raverx\.org/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?qldsupraclub\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?supraforums\.com\.au/ [NC]
RewriteRule .*\.(mp3|jpe?g|gif|bmp|png)$ /404 [L]- raverX's blog
- Add new comment
- 203 reads