projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a73e042
)
lighttpd/mkit.nl: Redirect mkit.nl to www.mkit.nl.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 20 Feb 2012 13:57:16 +0000
(14:57 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 20 Feb 2012 13:57:16 +0000
(14:57 +0100)
etc/lighttpd/vhosts/mkit-nl
patch
|
blob
|
history
diff --git
a/etc/lighttpd/vhosts/mkit-nl
b/etc/lighttpd/vhosts/mkit-nl
index ca14add90ebfeb25024809a943cf26cc88174fc7..5595ef54eef44497d004d1cf4e8a8f6f9344b25e 100644
(file)
--- 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" )
+}