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