lighttdp: Add redirect for renamed category.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 4 Jan 2010 21:36:27 +0000 (22:36 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 5 Jan 2010 12:56:03 +0000 (13:56 +0100)
etc/lighttpd/vhosts/stderr-nl

index b65c8e35a4047d53a20b1607b1eb00eec0a16f0d..0d6b94b8d4ab8dd43803b2228a77aa1e8461a2d6 100644 (file)
@@ -47,6 +47,8 @@ $HTTP["host"] =~ ".stderr.nl$" {
 
        $HTTP["host"] =~ "^www.stderr.nl$" {
                url.redirect += ("^/$" => "/Blog/")
+               # Category got renamed
+               url.redirect += ("^/Blog/personal(.*)" => "/Blog/Personal$1")
                $HTTP["url"] =~ "^/Blog" {
                        cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" )
                        alias.url += ( "/Blog" => var.site-dir + "/applications/blosxom/blosxom.cgi" )