git-instaweb: Fix custom apache log placement
authorDan McGee <dpmcgee@gmail.com>
Wed, 30 Jun 2010 02:44:58 +0000 (21:44 -0500)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Jul 2010 18:10:21 +0000 (11:10 -0700)
'CustomLog' is provided by mod_log_config so we need to include the module
in our generated config. This was added in d94775e1f9a.

Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh
index 6635fbefdf2a06e556716f91a70181ecf4f3252a..a01476a80f946c6e70b4932c5abd5e38fcd643a4 100755 (executable)
@@ -314,7 +314,7 @@ PidFile "$fqgitdir/pid"
 Listen $bind$port
 EOF
 
 Listen $bind$port
 EOF
 
-       for mod in mime dir; do
+       for mod in mime dir log_config; do
                if test -e $module_path/mod_${mod}.so; then
                        echo "LoadModule ${mod}_module " \
                             "$module_path/mod_${mod}.so" >> "$conf"
                if test -e $module_path/mod_${mod}.so; then
                        echo "LoadModule ${mod}_module " \
                             "$module_path/mod_${mod}.so" >> "$conf"