lighttpd: Add config for hekjelarp.nl.
authorMatthijs Kooijman <matthijs@www.drsnuggles.stderr.nl>
Tue, 24 Nov 2009 21:14:24 +0000 (22:14 +0100)
committerMatthijs Kooijman <matthijs@www.drsnuggles.stderr.nl>
Tue, 24 Nov 2009 21:14:24 +0000 (22:14 +0100)
etc/lighttpd/vhosts/hekjelarp-nl [new file with mode: 0644]

diff --git a/etc/lighttpd/vhosts/hekjelarp-nl b/etc/lighttpd/vhosts/hekjelarp-nl
new file mode 100644 (file)
index 0000000..d85d536
--- /dev/null
@@ -0,0 +1,11 @@
+$HTTP["host"] == "hekjelarp.nl" {
+       url.redirect = ( "(.*)" => "http://www.hekjelarp.nl$1" )
+}
+
+$HTTP["host"] =~ ".hekjelarp.nl$" {
+       var.site-dir         = var.root-dir + "/hekjelarp.nl"
+       var.site-fcgi-dir    = var.fcgi-dir + "/hekjelarp-nl"
+
+       evhost.path-pattern  = var.site-dir + "/htdocs/%3/"
+       accesslog.filename   = var.site-dir + "/logs/access.log"
+}