From 89adb3b6b4da4d585bf24beef4cef32fbc2adc26 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 20 Feb 2012 14:57:16 +0100 Subject: [PATCH] lighttpd/mkit.nl: Redirect mkit.nl to www.mkit.nl. --- etc/lighttpd/vhosts/mkit-nl | 4 ++++ 1 file changed, 4 insertions(+) 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" ) +} -- 2.30.2