From 44a167b007a20189200f4baf9ff4f24aa0f7571e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 2 Jan 2007 00:57:11 -0800 Subject: 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 --- git-instaweb.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'git-instaweb.sh') diff --git a/git-instaweb.sh b/git-instaweb.sh index 16cd351f7f..08362f43c0 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" <