test: do not LoadModule log_config_module unconditionally
[gitweb.git] / t / lib-httpd / apache.conf
index af6e5e1d6ae503dfadc94feef4d9cb4b623163ec..f460e404169bba1c57a48a3aac1df2f2b97d0b99 100644 (file)
@@ -4,6 +4,9 @@ DocumentRoot www
 LogFormat "%h %l %u %t \"%r\" %>s %b" common
 CustomLog access.log common
 ErrorLog error.log
+<IfModule !mod_log_config.c>
+       LoadModule log_config_module modules/mod_log_config.so
+</IfModule>
 
 <IfDefine Darwin>
        LoadModule log_config_module modules/mod_log_config.so