Lighty redirect
$HTTP["host"] =~ "^(www.|blog.)" { url.redirect = ( "^/(.*)" => "http://jnewland.com/$1", "" => "http://jnewland.com/", "/" => "http://jnewland.com/" ) }
DZone Snippets > jnewland > lighttpd
11366 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Jesse Newland http://jnewland.com
$HTTP["host"] =~ "^(www.|blog.)" { url.redirect = ( "^/(.*)" => "http://jnewland.com/$1", "" => "http://jnewland.com/", "/" => "http://jnewland.com/" ) }
$HTTP["host"] =~ "^(www.|blog.)?jnewland.com" { $HTTP["useragent"] !~ "FeedBurner" { url.redirect = ( "/xml/rss20/feed.xml" => "http://feeds.feedburner.com/jnewlandcom" ) } }