X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fstdout-nl;h=1fbb4e4f1d46e17270144c7ab58aec07b0588f9b;hb=189b5534fbb1b7cb3f49fdfed036300f48d08761;hp=5ca8a714acf1c0f0fabe205145870dbcd407d99f;hpb=fb8291e5712a9bf3cccb4a88a7467e9e691ba5cb;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/stdout-nl b/etc/lighttpd/vhosts/stdout-nl index 5ca8a71..1fbb4e4 100644 --- a/etc/lighttpd/vhosts/stdout-nl +++ b/etc/lighttpd/vhosts/stdout-nl @@ -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" => (( @@ -11,21 +10,13 @@ $HTTP["host"] =~ ".stdout.nl$" { )) ) - $HTTP["host"] == "mail.stdout.nl" { - alias.url += ( "/squirrel" => "/usr/share/squirrelmail" ) - - # 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["host"] == "mail.stdout.nl" { # Specify the certificate for this domain (uses SNI) ssl.pemfile = "/etc/lighttpd/ssl/mail.stdout.nl.pem" - # Redirect HTTP to HTTPS for mail.stdout.nl - $HTTP["scheme"] == "http" { - url.redirect = ( "^(.*)" => "https://mail.stdout.nl$1" ) - } + } + + $HTTP["url"] =~ "^/static/tmp/" { + # Enable dirlistings for /tmp + server.dir-listing = "enable" } }