X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fstdout-nl;h=64956e5cea833007afa6b9dc37b14357aa1b4f39;hb=cd697e349955ff430f7570f4bc1f508466fc7466;hp=224818c6a2375f58e5920c066ab092d9fc267d83;hpb=2dd30a95203a9b6b5d441f54797e01f262bf96c7;p=matthijs%2Fservers%2Fdrsnuggles.git 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" ) + } + } }