From 887963279cdd00f8302b480f2e542ee42c65f72e Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 4 Jan 2010 22:36:27 +0100 Subject: [PATCH] lighttdp: Add redirect for renamed category. --- etc/lighttpd/vhosts/stderr-nl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index b65c8e3..0d6b94b 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -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" ) -- 2.30.2