From: Matthijs Kooijman Date: Wed, 10 Mar 2010 19:57:56 +0000 (+0100) Subject: lighttpd: Move blog to / instead of /Blog. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=40394b94bc168ce947d81412f3938e961704798e;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Move blog to / instead of /Blog. --- diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 9f82fef..f1a4ad9 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -60,9 +60,9 @@ $HTTP["host"] =~ ".stderr.nl$" { url.redirect += ("^/$" => "/Blog/") # Category got renamed url.redirect += ("^/Blog/personal(.*)" => "/Blog/Personal$1") - $HTTP["url"] =~ "^/Blog" { + $HTTP["url"] !~ "^/(Old blog|static)" { cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" ) - alias.url += ( "/Blog" => var.site-dir + "/applications/blosxom/blosxom.cgi" ) + 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",