From: Matthijs Kooijman Date: Mon, 3 May 2010 14:52:27 +0000 (+0200) Subject: lighttpd: Redirect git.stderr.nl/ tot /gitweb. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=56d331bf17b5fc6a53fafd808c129545bbd1b13f;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd: Redirect git.stderr.nl/ tot /gitweb. --- diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 0d6314b..5398ed1 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -18,6 +18,8 @@ $HTTP["host"] =~ ".stderr.nl$" { # thesis. Use .* instead of λ, since mod_redirect doesn't like # the λ for some reason. url.redirect += ("^/gitweb\?p=matthijs/projects/c.*ash\.git" => "/gitweb?p=matthijs/master-project/cλash.git") + # Redirect / to gitweb + url.redirect += ("^/$" => "/gitweb") } $HTTP["host"] =~ "hg.stderr.nl$" {