From cd697e349955ff430f7570f4bc1f508466fc7466 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 8 Feb 2010 11:32:43 +0100 Subject: [PATCH] lighttpd: Enable Squirrelmail and Hastymail webmail. --- etc/lighttpd/vhosts/stdout-nl | 9 +++++++++ 1 file changed, 9 insertions(+) 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" ) + } + } } -- 2.30.2