From: root Date: Sun, 29 Mar 2009 21:39:31 +0000 (+0200) Subject: lighttpd: Add configuration for weblog.ninniach.nl. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=ee03055b56cf522c99010c9fc850c763564f3e53;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Add configuration for weblog.ninniach.nl. --- diff --git a/etc/lighttpd/vhosts/ninniach-nl b/etc/lighttpd/vhosts/ninniach-nl index 52dbb9c..bc23020 100644 --- a/etc/lighttpd/vhosts/ninniach-nl +++ b/etc/lighttpd/vhosts/ninniach-nl @@ -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" => "", + ) + } + } }