0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

apache-httpd: Use authn_core for version >= 2.3.

Beginning with version 2.3, the authn were refactored. As a result, authn_alias
is now part of the new module authn_core, so let's use authn_core instead of
authn_alias.

For details please see: http://httpd.apache.org/docs/2.4/upgrading.html#misc

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-10-17 15:11:53 +02:00
parent 56f90da276
commit 18076e001a
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -101,7 +101,8 @@ let
"auth_basic" "auth_digest"
# Authentication: is the user who he claims to be?
"authn_file" "authn_dbm" "authn_anon" "authn_alias"
"authn_file" "authn_dbm" "authn_anon"
(if versionOlder httpd.version "2.3" then "authn_alias" else "authn_core")
# Authorization: is the user allowed access?
"authz_user" "authz_groupfile" "authz_host"