From 56d331bf17b5fc6a53fafd808c129545bbd1b13f Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 3 May 2010 16:52:27 +0200 Subject: [PATCH] lighttpd: Redirect git.stderr.nl/ tot /gitweb. --- 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 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$" { -- 2.30.2