From a1806fc9b734eb12cb8b772467244939cdcbd8f0 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 4 Jan 2010 22:30:50 +0100 Subject: [PATCH] lighttpd: Move blog to /Blog and remove redirect to kat. --- etc/lighttpd/vhosts/stderr-nl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index edab22b..6bb2f25 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -46,12 +46,10 @@ $HTTP["host"] =~ ".stderr.nl$" { } $HTTP["host"] =~ "^www.stderr.nl$" { - $HTTP["url"] !~ "^/(blosxom|blog)" { - url.redirect += ("^(.*)$" => "http://katherina.student.utwente.nl/~matthijs/cgi-bin/blosxom$1") - } - $HTTP["url"] =~ "^/blosxom" { + url.redirect += ("^/$" => "/Blog/") + $HTTP["url"] =~ "^/Blog" { cgi.assign += ( "blosxom.cgi" => "/usr/local/bin/aclperl" ) - alias.url += ( "/blosxom" => var.site-dir + "/applications/blosxom/blosxom.cgi" ) + alias.url += ( "/Blog" => 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", -- 2.30.2