From ca878a6ff50c6217a7a4fc1a6d11b507bd2db504 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Thu, 11 Dec 2014 17:57:23 +0000 Subject: Make mason.configure install the new Mason config --- mason/share/lighttpd.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mason/share/lighttpd.conf (limited to 'mason/share/lighttpd.conf') diff --git a/mason/share/lighttpd.conf b/mason/share/lighttpd.conf new file mode 100644 index 00000000..2e9f6350 --- /dev/null +++ b/mason/share/lighttpd.conf @@ -0,0 +1,21 @@ +server.document-root = "/var/www/" + +server.port = 80 + +server.username = "www" +server.groupname = "www" + +mimetype.assign = ( + ".html" => "text/html", + ".txt" => "text/plain", + ".log" => "text/plain", + ".jpg" => "image/jpeg", + ".png" => "image/png" +) + +static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" ) +index-file.names = ( "index.html" ) + +$HTTP["url"] =~ "^/logs/" { + dir-listing.activate = "enable" +} -- cgit v1.2.1