X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fninniach-nl;h=9968c5bef1b5a753bcd5c53c7a79abf159f49530;hb=88cba54a92d38fbc47d36326f988fcaa8046830e;hp=52dbb9c5473ce0f6d355e7b277e905149923e34a;hpb=17c5d74612b2e7ade114e5b8992e98b88d3f7ae0;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/ninniach-nl b/etc/lighttpd/vhosts/ninniach-nl index 52dbb9c..9968c5b 100644 --- a/etc/lighttpd/vhosts/ninniach-nl +++ b/etc/lighttpd/vhosts/ninniach-nl @@ -12,4 +12,18 @@ $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_LOGS_BASE" => var.site-dir + "/logs", + "BLOSXOM_HTDOCS_URL" => "", + ) + } + } }