Skip to content

Commit

Permalink
t/lib-httpd/apache.conf: load extra auth modules in apache 2.4
Browse files Browse the repository at this point in the history
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Jun 14, 2013
1 parent 0442743 commit a8adcc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/lib-httpd/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ ErrorLog error.log
</IfModule>
</IfVersion>

<IfVersion >= 2.4>
<IfModule !mod_authn_core.c>
LoadModule authn_core_module modules/mod_authn_core.so
</IfModule>
<IfModule !mod_authz_core.c>
LoadModule authz_core_module modules/mod_authz_core.so
</IfModule>
</IfVersion>

PassEnv GIT_VALGRIND
PassEnv GIT_VALGRIND_OPTIONS

Expand Down

0 comments on commit a8adcc4

Please sign in to comment.