lighttpd: Move blog to / instead of /Blog.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 10 Mar 2010 19:57:56 +0000 (20:57 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 10 Mar 2010 19:57:56 +0000 (20:57 +0100)
etc/lighttpd/vhosts/stderr-nl

index 9f82fefc7283e1f94a8a925c57f209a9f23cd435..f1a4ad95726631cd2cc4bc40616780f0eb428e9a 100644 (file)
@@ -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",