lighttpd: Add configuration for weblog.ninniach.nl.
authorroot <root@template.drsnuggles.stderr.nl>
Sun, 29 Mar 2009 21:39:31 +0000 (23:39 +0200)
committerroot <root@template.drsnuggles.stderr.nl>
Sun, 29 Mar 2009 21:39:31 +0000 (23:39 +0200)
etc/lighttpd/vhosts/ninniach-nl

index 52dbb9c5473ce0f6d355e7b277e905149923e34a..bc23020a5f060da2362271e17f6988f08b3d425d 100644 (file)
@@ -12,4 +12,17 @@ $HTTP["host"] =~ ".ninniach.nl$" {
                        "broken-scriptfilename" => "enable",
                ))
        )
+
+       $HTTP["host"] == "weblog.ninniach.nl" {
+               $HTTP["url"] !~  "^/images" {
+                       cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
+                       alias.url += ( "" => var.site-dir + "/applications/blosxom/blosxom.cgi" )
+                       setenv.add-environment += (
+                               "BLOSXOM_CONFIG_FILE" => var.site-dir + "/conf/blosxom.conf",
+                               "BLOSXOM_DATA_BASE" => var.site-dir + "/data/blosxom",
+                               "BLOSXOM_CODE_BASE" => var.site-dir + "/applications/blosxom",
+                               "BLOSXOM_HTDOCS_URL" =>  "",
+                       )
+               }
+       }
 }