projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd30a9
)
lighttpd: Enable Squirrelmail and Hastymail webmail.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 8 Feb 2010 10:32:43 +0000
(11:32 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 8 Feb 2010 10:32:43 +0000
(11:32 +0100)
etc/lighttpd/vhosts/stdout-nl
patch
|
blob
|
history
diff --git
a/etc/lighttpd/vhosts/stdout-nl
b/etc/lighttpd/vhosts/stdout-nl
index 224818c6a2375f58e5920c066ab092d9fc267d83..64956e5cea833007afa6b9dc37b14357aa1b4f39 100644
(file)
--- 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" )
+ }
+ }
}