Redirecting Fun with Lightty

Published on April 23, 2008

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+fuck",
        "" => "http://www.urbandictionary.com/define.php?term=annoying+fuck",
        "/" => "http://www.urbandictionary.com/define.php?term=annoying+fuck"
    )
}


Tagged As: Tips, Tricks and Hacks

Comments are currently closed for this entry.