lighttpd: Tell blosxom where the log files live.
[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         accesslog.filename   = var.site-dir + "/logs/access.log"
7
8         fastcgi.server    = ( 
9                 ".php" => 
10                 ((
11                         "socket" => var.site-fcgi-dir + "/php",
12                         "broken-scriptfilename" => "enable",
13                 ))
14         )
15
16         $HTTP["host"] == "weblog.ninniach.nl" {
17                 $HTTP["url"] !~  "^/images" {
18                         cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
19                         alias.url += ( "" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
20                         setenv.add-environment += (
21                                 "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
22                                 "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
23                                 "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom",
24                                 "BLOSXOM_LOGS_BASE" => var.site-dir + "/logs",
25                                 "BLOSXOM_HTDOCS_URL" =>  "",
26                         )
27                 }
28         }
29 }