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 :)
Missy
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!
Kazza the Blank One
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
Charlie Daniels
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
Kazza the Blank One
Don't need admin privileges for that little hack.. just a web server that supports .htaccess files and mod_rewrite :)