lighttpd/stdout.nl: Enable dirlisting for /static/tmp.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 23 Jul 2010 11:58:43 +0000 (13:58 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 23 Jul 2010 11:58:43 +0000 (13:58 +0200)
etc/lighttpd/vhosts/stdout-nl

index 152b784da8c497b8a1f308c96903f6472025bbd3..1fbb4e4f1d46e17270144c7ab58aec07b0588f9b 100644 (file)
@@ -14,4 +14,9 @@ $HTTP["host"] =~ ".stdout.nl$" {
                # Specify the certificate for this domain (uses SNI)
                ssl.pemfile = "/etc/lighttpd/ssl/mail.stdout.nl.pem" 
        }
+
+       $HTTP["url"] =~ "^/static/tmp/" {
+               # Enable dirlistings for /tmp
+               server.dir-listing = "enable"
+       }
 }