t/lib-httpd/apache.conf: load compat access module in apache 2.4
authorJeff King <peff@peff.net>
Sun, 9 Jun 2013 08:08:45 +0000 (04:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jun 2013 17:29:01 +0000 (10:29 -0700)
In apache 2.4, the "Order" directive has gone away in favor
of a new system in mod_authz_host. However, since we want
our config file to remain compatible across multiple Apache
versions, we can use mod_access_compat to keep using the
older style.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd/apache.conf
index 48e8c8f717cbbb2ccea1d5b8d3f2b65af819e94f..eb44322b1bace9c31c3ee084e4ca890fcd7f9dfa 100644 (file)
@@ -54,6 +54,9 @@ ErrorLog error.log
 <IfModule !mod_authz_core.c>
        LoadModule authz_core_module modules/mod_authz_core.so
 </IfModule>
+<IfModule !mod_access_compat.c>
+       LoadModule access_compat_module modules/mod_access_compat.so
+</IfModule>
 </IfVersion>
 
 PassEnv GIT_VALGRIND