From: Matthijs Kooijman Date: Mon, 20 Feb 2012 13:57:16 +0000 (+0100) Subject: lighttpd/mkit.nl: Redirect mkit.nl to www.mkit.nl. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=89adb3b6b4da4d585bf24beef4cef32fbc2adc26;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd/mkit.nl: Redirect mkit.nl to www.mkit.nl. --- diff --git a/etc/lighttpd/vhosts/mkit-nl b/etc/lighttpd/vhosts/mkit-nl index ca14add..5595ef5 100644 --- a/etc/lighttpd/vhosts/mkit-nl +++ b/etc/lighttpd/vhosts/mkit-nl @@ -15,3 +15,7 @@ $HTTP["host"] =~ ".mkit.nl$" { server.dir-listing = "enable" } } + +$HTTP["host"] =~ "^mkit\.nl$" { + url.redirect = ( "^/(.*)" => "http://www.mkit.nl/$1" ) +}