From: Eric Wong Date: Tue, 2 Jan 2007 08:57:11 +0000 (-0800) Subject: instaweb: load Apache mime and dir modules if they are needed X-Git-Tag: v1.5.0-rc1~109 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=44a167b007a20189200f4baf9ff4f24aa0f7571e;p=git.git instaweb: load Apache mime and dir modules if they are needed I've noticed that Apache 2.2 on a Debian etch machine has these compiled as modules. Also set ServerName to avoid a warning at startup. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-instaweb.sh b/git-instaweb.sh index 16cd351f7..08362f43c 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -160,10 +160,20 @@ apache2_conf () { test "$local" = true && bind='127.0.0.1:' echo 'text/css css' > $fqgitdir/mime.types cat > "$conf" <> "$conf" + fi + done + cat >> "$conf" <