X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fninniach-nl;h=a7ebae8525b5dfae522f1f15d56696c1d0477ab9;hb=a7cb0f2ff41c84defa02182cb73eff7a74e3d817;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..a7ebae8 100644 --- a/etc/lighttpd/vhosts/ninniach-nl +++ b/etc/lighttpd/vhosts/ninniach-nl @@ -3,7 +3,6 @@ $HTTP["host"] =~ ".ninniach.nl$" { var.site-fcgi-dir = var.fcgi-dir + "/ninniach-nl" evhost.path-pattern = var.site-dir + "/htdocs/%3/" - accesslog.filename = var.site-dir + "/logs/access.log" fastcgi.server = ( ".php" => @@ -12,4 +11,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" => "", + ) + } + } }