X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Flighttpd%2Fvhosts%2Fstderr-nl;h=5398ed18feaea8006798ae110572d5a5ee0f2bf7;hb=b3e4ccffd2ec8225fcf8b9fa40a9279e2af3e31b;hp=f1a4ad95726631cd2cc4bc40616780f0eb428e9a;hpb=40394b94bc168ce947d81412f3938e961704798e;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index f1a4ad9..5398ed1 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -18,6 +18,8 @@ $HTTP["host"] =~ ".stderr.nl$" { # thesis. Use .* instead of λ, since mod_redirect doesn't like # the λ for some reason. url.redirect += ("^/gitweb\?p=matthijs/projects/c.*ash\.git" => "/gitweb?p=matthijs/master-project/cλash.git") + # Redirect / to gitweb + url.redirect += ("^/$" => "/gitweb") } $HTTP["host"] =~ "hg.stderr.nl$" { @@ -53,7 +55,7 @@ $HTTP["host"] =~ ".stderr.nl$" { } $HTTP["host"] =~ "^drsnuggles.stderr.nl$" { - alias.url += ("/ldap" => "/usr/share/phpldapadmin-patched/htdocs") + alias.url += ("/ldap" => "/usr/share/phpldapadmin/htdocs") } $HTTP["host"] =~ "^www.stderr.nl$" { @@ -67,6 +69,7 @@ $HTTP["host"] =~ ".stderr.nl$" { "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" => "/static/", ) }