From: Matthijs Kooijman Date: Mon, 4 Jan 2010 21:36:27 +0000 (+0100) Subject: lighttdp: Add redirect for renamed category. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=887963279cdd00f8302b480f2e542ee42c65f72e;p=matthijs%2Fservers%2Fdrsnuggles.git lighttdp: Add redirect for renamed category. --- 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" )