Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit a8adcc4

Browse files
peffgitster
authored andcommitted
t/lib-httpd/apache.conf: load extra auth modules in apache 2.4
In apache 2.4, the "Auth*" and "Require" directives have moved into the authn_core and authz_core modules, respectively. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0442743 commit a8adcc4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/lib-httpd/apache.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ ErrorLog error.log
4747
</IfModule>
4848
</IfVersion>
4949

50+
<IfVersion >= 2.4>
51+
<IfModule !mod_authn_core.c>
52+
LoadModule authn_core_module modules/mod_authn_core.so
53+
</IfModule>
54+
<IfModule !mod_authz_core.c>
55+
LoadModule authz_core_module modules/mod_authz_core.so
56+
</IfModule>
57+
</IfVersion>
58+
5059
PassEnv GIT_VALGRIND
5160
PassEnv GIT_VALGRIND_OPTIONS
5261

0 commit comments

Comments
 (0)