From c5500232114eaf5635ed958bddcf052f616ae61e Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 14 Oct 2010 12:44:07 +0200 Subject: [PATCH] lighttpd: Add basic configuration for mkit.nl. --- etc/lighttpd/vhosts/mkit-nl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 etc/lighttpd/vhosts/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" + } +} -- 2.30.2