lighttpd/evolution-events.nl: Move authentication info out of conditional.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / vhosts / ninniach-nl
1 $HTTP["host"] =~ ".ninniach.nl$" {
2         var.site-dir         = var.root-dir + "/ninniach.nl"
3         var.site-fcgi-dir    = var.fcgi-dir + "/ninniach-nl"
4
5         evhost.path-pattern  = var.site-dir + "/htdocs/%3/"
6
7         fastcgi.server    = ( 
8                 ".php" => 
9                 ((
10                         "socket" => var.site-fcgi-dir + "/php",
11                         "broken-scriptfilename" => "enable",
12                 ))
13         )
14
15         $HTTP["host"] == "weblog.ninniach.nl" {
16                 $HTTP["url"] !~  "^/images" {
17                         cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
18                         alias.url += ( "" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
19                         setenv.add-environment += (
20                                 "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
21                                 "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
22                                 "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom",
23                                 "BLOSXOM_LOGS_BASE" => var.site-dir + "/logs",
24                                 "BLOSXOM_HTDOCS_URL" =>  "",
25                         )
26                 }
27         }
28 }