test: do not LoadModule log_config_module unconditionally
[gitweb.git] / t / lib-httpd / apache.conf
index 4717c2d33b70af6527f8951ec8a414e8caf87095..f460e404169bba1c57a48a3aac1df2f2b97d0b99 100644 (file)
@@ -1,7 +1,18 @@
 ServerName dummy
 PidFile httpd.pid
 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
+       LockFile accept.lock
+       PidFile httpd.pid
+</IfDefine>
 
 <IfDefine SSL>
 LoadModule ssl_module modules/mod_ssl.so