wow traffic


someone emailed me the ‘conan raver‘ i posted it on my site for you to enjoy.

i logged into my webserver control panel and noticed a ‘omg huge’ traffic spike this month. people are hotlinking this thing all over! a quick google for it and my site’s ranked first. so far this month it’s accounted for 1.2gb of traffic and 1300 hits.

drawing up what i learned in the past about hotlinking, i implemented some changes into my $webroot/.htaccess file:

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} ^http://(www\.)?*$ [NC]
RewriteRule .(gif|jpg|png)$ [R]

i didn’t want to block “all hotlinking” only those who steal my bandwidth without asking me first. the drawback to this approach is that i had to do this for each server linking images. i tried broadening the criteria for the rewrite and have only one rewrite condition, but it wasn’t working on this server. i reused the [NC] line but it broke all the existing rule sets.

oh well. copy/paste is my friend. 🙂

one comment

  1. Laugh. What can I say… Occasionally I send good spam.

    ThatGuyChuck, November 20, 2005

Leave a comment