Redirecting Fun with Lightty
Two of my colleagues were having just a little bit too much fun with my blog, so I decided to have some fun back. Over a period of 10 minutes, they managed to leave 10+ comments. Luckily I have full control over my server, and was able to quickly create my practical joke.
$HTTP["remoteip"] == "123.45.678.910" {
url.redirect = (
"^/(.*)" => "http://www.urbandictionary.com/define.php?term=annoying+person",
"" => "http://www.urbandictionary.com/define.php?term=annoying+person",
"/" => "http://www.urbandictionary.com/define.php?term=annoying+person"
)
}