lighttpd: Add configuration for ninniach.nl.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 29 Mar 2009 19:18:29 +0000 (21:18 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 29 Mar 2009 19:18:29 +0000 (21:18 +0200)
etc/lighttpd/vhosts/ninniach-nl [new file with mode: 0644]

diff --git a/etc/lighttpd/vhosts/ninniach-nl b/etc/lighttpd/vhosts/ninniach-nl
new file mode 100644 (file)
index 0000000..52dbb9c
--- /dev/null
@@ -0,0 +1,15 @@
+$HTTP["host"] =~ ".ninniach.nl$" {
+       var.site-dir         = var.root-dir + "/ninniach.nl"
+       var.site-fcgi-dir    = var.fcgi-dir + "/ninniach-nl"
+
+       evhost.path-pattern  = var.site-dir + "/htdocs/%3/"
+       accesslog.filename   = var.site-dir + "/logs/access.log"
+
+       fastcgi.server    = ( 
+               ".php" => 
+               ((
+                       "socket" => var.site-fcgi-dir + "/php",
+                       "broken-scriptfilename" => "enable",
+               ))
+       )
+}