Revenge!!

| | Comments (4)
One of my biggest pet peeves is direct image linking bandwidth thieves.  Myspace users are the biggest culprits in this crime.  So today I had my revenge.  I setup some rewrite rules to redirect any images stolen from my site to something more appropriate for the scum that is this sort of thief.

Plutose
I wasn't able to do this with my blog images before the beginning of this year because the server I was on didn't support it (well it did, but you needed to do it through the sysadmin's admin interface - not an option as a user).  I had it working on my photo server for a while (thanks Dave) but hadn't set it up again after the hard drive crash I had on it.

I'm just blocking myspace at the moment, but may extend it to other sites that offend me the most...

If anyone's interested, the .htaccess file contains the following text:

RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com.*$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://myothersite/naughty.gif [R,NC]
(reference)

Stu and I got a good giggle over this this morning :)

4 Comments

Missy said:

Oh I would LOVE to be able to do this! I want to make a sign that says something like "I'm a THIEF! I steal bandwidth." So that displays on their sites!

August 9, 2008 12:15 PM

   

Kazza the Blank One said:

That's what I did last time.. I had a big red sign with big yellow letters saying "stolen" hehe.
But this time I thought I'd try goatse Pluto.. mwoohahahah

August 9, 2008 3:11 PM

   

Charlie Daniels said:

That's one of the pleasure of having admin privileges isn't it? ;-) Sorta like patching that annoying user over to the old 10Mb hub for a while! Ooops did I say that out loud!

Cheers

Charlie

August 9, 2008 4:41 PM

   

Kazza the Blank One said:

Don't need admin privileges for that little hack.. just a web server that supports .htaccess files and mod_rewrite :)

August 9, 2008 5:51 PM

   

Leave a comment

Kazza's "Boring Life Of a Geek" aka BLOG

IT geek, originally from Sydney, moved to Canberra in 2007. Married to "the sweetie", aka Stu. Prolific photographer, Lego junkie and tropical fish keeper.

Kazza the Blank One home