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: doh | lighttpd | web
blog comments powered by Disqus

About this page

This entry is from my tech blog and was written on April 23, 2008. It's been tagged with doh and lighttpd and web.

Via Twitter

Just saw a large white parrot try to steal the clothing from someone's drying rack. (about 2 weeks, 5 days ago)

Currently Reading

Book Book
View Previous Reads