lighttpd/stdout.nl: Enable dirlisting for /static/tmp.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / vhosts / stdout-nl
index 64956e5cea833007afa6b9dc37b14357aa1b4f39..1fbb4e4f1d46e17270144c7ab58aec07b0588f9b 100644 (file)
@@ -3,7 +3,6 @@ $HTTP["host"] =~ ".stdout.nl$" {
        var.site-fcgi-dir    = var.fcgi-dir + "/stdout-nl"
 
        evhost.path-pattern  = var.site-dir + "/htdocs/%3/"
-       accesslog.filename   = var.site-dir + "/logs/access.log"
 
        fastcgi.server    = ( ".php" => 
                ((
@@ -12,11 +11,12 @@ $HTTP["host"] =~ ".stdout.nl$" {
        )
 
        $HTTP["host"] == "mail.stdout.nl" {
-               alias.url += ( "/squirrel" => "/usr/share/squirrelmail" )
+               # Specify the certificate for this domain (uses SNI)
+               ssl.pemfile = "/etc/lighttpd/ssl/mail.stdout.nl.pem" 
+       }
 
-               # Only expose parts of the hastymail directory
-               $HTTP["url"] =~ "^/hastymail(|/index.php|/templates|/js|/plugins|/images)(|/.*)$" {
-                       alias.url += ( "/hastymail" => var.site-dir + "/applications/hastymail2" )
-               }
+       $HTTP["url"] =~ "^/static/tmp/" {
+               # Enable dirlistings for /tmp
+               server.dir-listing = "enable"
        }
 }