summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-06-09 04:07:59 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-14 10:27:54 -0700
commit0442743810c6f6c14386a5a9d6bf8e4d69adbc51 (patch)
treeca22eb4fec88795361d0c72475577ecd8eb7feb8
parentt0070 "mktemp to unwritable directory" needs SANITY (diff)
downloadtgif-0442743810c6f6c14386a5a9d6bf8e4d69adbc51.tar.xz
t/lib-httpd/apache.conf: do not use LockFile in apache >= 2.4
The LockFile directive from earlier versions of apache has been replaced by the Mutex directive. The latter seems to give sane defaults and does not need any specific customization, so we can get away with just adding a version check to the use of LockFile. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--t/lib-httpd/apache.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
index 542241b229..891edd716c 100644
--- a/t/lib-httpd/apache.conf
+++ b/t/lib-httpd/apache.conf
@@ -1,5 +1,7 @@
ServerName dummy
+<IfVersion < 2.4>
LockFile accept.lock
+</IfVersion>
PidFile httpd.pid
DocumentRoot www
LogFormat "%h %l %u %t \"%r\" %>s %b" common