Skip to content

Commit bb3f7cc

Browse files
peffgitster
authored andcommitted
t/lib-httpd/apache.conf: load compat access module in apache 2.4
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a8adcc4 commit bb3f7cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/lib-httpd/apache.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ ErrorLog error.log
5454
<IfModule !mod_authz_core.c>
5555
LoadModule authz_core_module modules/mod_authz_core.so
5656
</IfModule>
57+
<IfModule !mod_access_compat.c>
58+
LoadModule access_compat_module modules/mod_access_compat.so
59+
</IfModule>
5760
</IfVersion>
5861

5962
PassEnv GIT_VALGRIND

0 commit comments

Comments
 (0)