[PATCHv2 4/4 (was 3/3, still WIP)] t/lib-git-svn: adjust config to apache 2.4 WIP
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- May 11, 2015, 11:54 UTC
- Message-ID
- <5973b74b00301c25ca956764981ec032a863ca07.1431344881.git.git@drmicha.warpmail.net>
- In-Reply-To
- <0727016B-E495-4577-A174-E0EA85910BD3@gmail.com>
The current config is tailored to apache 2.2. Apache 2.4 fails to start with it.
Adjust the config to apache 2.4. [still incomplete]
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> ---
Notes:
This is WIP and RFH. Apache does not start without mpm, and the lock
mechanism has changed. It will run with these changes, but svn fails to
connect.
Again, I'm wondering who is running these tests at all, but also:
Why do we leverage lib-httpd so little from lib-git-svn?t/lib-git-svn.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index 2a0ef07..24ad8b4 100644 --- a/t/lib-git-svn.sh +++ b/t/lib-git-svn.sh @@ -117,10 +117,21 @@ ServerName "git svn test" ServerRoot "$GIT_DIR" DocumentRoot "$GIT_DIR" PidFile "$GIT_DIR/httpd.pid" -LockFile logs/accept.lock Listen 127.0.0.1:$SVN_HTTPD_PORT LoadModule dav_module $SVN_HTTPD_MODULE_PATH/mod_dav.so LoadModule dav_svn_module $SVN_HTTPD_MODULE_PATH/mod_dav_svn.so +<IfModule !mod_version.c> + LoadModule version_module $SVN_HTTPD_MODULE_PATH/mod_version.so +</IfModule> +<IfVersion < 2.4> +LockFile logs/accept.lock +</IfVersion> +<IfVersion >= 2.4> +Mutex default +<IfModule !mod_prefork_module.c> + LoadModule mpm_prefork_module $SVN_HTTPD_MODULE_PATH/mod_mpm_prefork.so +</IfModule> +</IfVersion> <Location /$repo_base_path> DAV svn SVNPath "$rawsvnrepo"
-- 2.4.0.rc3.332.g886447c