X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fmkit-nl;fp=etc%2Flighttpd%2Fvhosts%2Fmkit-nl;h=ca14add90ebfeb25024809a943cf26cc88174fc7;hb=c5500232114eaf5635ed958bddcf052f616ae61e;hp=0000000000000000000000000000000000000000;hpb=80041188d2d65a3603deb68a47bd9f26c4bc19c9;p=matthijs%2Fservers%2Fdrsnuggles.git 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" + } +}