And another patch:
[[[
Index: subversion/tests/cmdline/davautocheck.sh
===================================================================
--- subversion/tests/cmdline/davautocheck.sh (revision 1231107)
+++ subversion/tests/cmdline/davautocheck.sh (working copy)
@@ -292,9 +292,22 @@
$LOAD_MOD_AUTHZ_HOST
LoadModule authz_svn_module "$MOD_AUTHZ_SVN"
+__EOF__
+
+if "$HTTPD" -v | grep '/2\.[012]' >/dev/null; then
+ cat >> "$HTTPD_CFG" <<__EOF__
LockFile lock
User $(id -un)
Group $(id -gn)
+__EOF__
+else
+ cat >> "$HTTPD_CFG" <<__EOF__
+# TODO: maybe uncomment this for prefork,worker MPMs only?
+# Mutex file:lock mpm-accept
+__EOF__
+fi
+
+cat >> "$HTTPD_CFG" <<__EOF__
Listen $HTTPD_PORT
ServerName localhost
PidFile "$HTTPD_PID"
]]]
For me, it works but yields
AH00511: WARNING: MaxRequestWorkers of 16 is less than ThreadsPerChild of
25, increasing to 25. MaxRequestWorkers must be at least as large
as the number of threads in a single server.
Tested using the event MPM only (which was the default in my build).
Received on 2012-01-13 17:56:23 CET