summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-07-22 10:25:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-22 10:25:24 -0700
commitaf3e5d1b2af6322621f26791abf8d619771f04e2 (patch)
tree9530bce05e091cc9ef7b563b2593bc0b4f4606bb
parentMerge branch 'bg/xcalloc-nmemb-then-size' into maint (diff)
parentgit-instaweb: add support for Apache 2.4 (diff)
downloadtgif-af3e5d1b2af6322621f26791abf8d619771f04e2.tar.xz
Merge branch 'jm/instaweb-apache-24' into maint
* jm/instaweb-apache-24: git-instaweb: add support for Apache 2.4
-rwxr-xr-xgit-instaweb.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/git-instaweb.sh b/git-instaweb.sh
index 4aa3eb80fd..513efa662e 100755
--- a/git-instaweb.sh
+++ b/git-instaweb.sh
@@ -345,7 +345,17 @@ PidFile "$fqgitdir/pid"
Listen $bind$port
EOF
- for mod in mime dir env log_config
+ for mod in mpm_event mpm_prefork mpm_worker
+ do
+ if test -e $module_path/mod_${mod}.so
+ then
+ echo "LoadModule ${mod}_module " \
+ "$module_path/mod_${mod}.so" >> "$conf"
+ # only one mpm module permitted
+ break
+ fi
+ done
+ for mod in mime dir env log_config authz_core
do
if test -e $module_path/mod_${mod}.so
then