))
)
- cgi.assign = ( "cgi" => "" )
-
$HTTP["host"] =~ "git.stderr.nl$" {
# Put this alias in a url conditional, so urls like /gitweb.css won't get alias'd
$HTTP["url"] =~ "^/gitweb(/.*)?$" {
)
)
}
+
+ $HTTP["host"] =~ "^www.stderr.nl$" {
+ $HTTP["url"] =~ "^/blosxom" {
+ cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
+ alias.url += ( "/blosxom" => 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" => "/blog/",
+ )
+ }
+ }
}