From: Matthijs Kooijman Date: Mon, 4 Jan 2010 21:30:50 +0000 (+0100) Subject: lighttpd: Move blog to /Blog and remove redirect to kat. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Fdrsnuggles.git;a=commitdiff_plain;h=a1806fc9b734eb12cb8b772467244939cdcbd8f0 lighttpd: Move blog to /Blog and remove redirect to kat. --- 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",