From: Matthijs Kooijman Date: Thu, 14 Oct 2010 10:44:07 +0000 (+0200) Subject: lighttpd: Add basic configuration for mkit.nl. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=c5500232114eaf5635ed958bddcf052f616ae61e;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Add basic configuration for mkit.nl. --- diff --git a/etc/lighttpd/vhosts/mkit-nl b/etc/lighttpd/vhosts/mkit-nl new file mode 100644 index 0000000..ca14add --- /dev/null +++ b/etc/lighttpd/vhosts/mkit-nl @@ -0,0 +1,17 @@ +$HTTP["host"] =~ ".mkit.nl$" { + var.site-dir = var.root-dir + "/mkit.nl" + var.site-fcgi-dir = var.fcgi-dir + "/mkit-nl" + + evhost.path-pattern = var.site-dir + "/htdocs/%3/" + + fastcgi.server = ( ".php" => + (( + "socket" => var.site-fcgi-dir + "/php", + )) + ) + + $HTTP["url"] =~ "^/static/tmp/" { + # Enable dirlistings for /tmp + server.dir-listing = "enable" + } +}