From: Matthijs Kooijman Date: Mon, 8 Feb 2010 10:32:43 +0000 (+0100) Subject: lighttpd: Enable Squirrelmail and Hastymail webmail. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=cd697e349955ff430f7570f4bc1f508466fc7466;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Enable Squirrelmail and Hastymail webmail. --- diff --git a/etc/lighttpd/vhosts/stdout-nl b/etc/lighttpd/vhosts/stdout-nl index 224818c..64956e5 100644 --- a/etc/lighttpd/vhosts/stdout-nl +++ b/etc/lighttpd/vhosts/stdout-nl @@ -10,4 +10,13 @@ $HTTP["host"] =~ ".stdout.nl$" { "socket" => var.site-fcgi-dir + "/php", )) ) + + $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" ) + } + } }