X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fmkit-nl;fp=etc%2Flighttpd%2Fvhosts%2Fmkit-nl;h=5595ef54eef44497d004d1cf4e8a8f6f9344b25e;hb=89adb3b6b4da4d585bf24beef4cef32fbc2adc26;hp=ca14add90ebfeb25024809a943cf26cc88174fc7;hpb=a73e0429667aa897d78217a70cabdbae5ffecd98;p=matthijs%2Fservers%2Fdrsnuggles.git 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" ) +}