]> granicus.if.org Git - apache/commitdiff
Merge r1618851 from trunk: mod_authz_core: Allow <AuthzProviderAlias>'es
authorJan Kaluža <jkaluza@apache.org>
Fri, 19 Sep 2014 13:22:09 +0000 (13:22 +0000)
committerJan Kaluža <jkaluza@apache.org>
Fri, 19 Sep 2014 13:22:09 +0000 (13:22 +0000)
to be seen from auth stanzas under virtual hosts. PR 56870. [Eric Covener]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1626203 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/aaa/mod_authz_core.c

diff --git a/CHANGES b/CHANGES
index e4d8bfc6621b46b9fc935534f4ffe4ba9b4baf51..4d864ac4be3bc0900a7f8489c495ef45ab7f29ea 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -34,6 +34,9 @@ Changes with Apache 2.4.11
   *) mod_lua: Don't quote Expires and Path values. PR 56734.
      [Keith Mashinter, <kmashint yahoo com>]
 
+  *) mod_authz_core: Allow <AuthzProviderAlias>'es to be seen from auth
+     stanzas under virtual hosts. PR 56870. [Eric Covener]
+
 Changes with Apache 2.4.10
 
   *) SECURITY: CVE-2014-0117 (cve.mitre.org)
index c9ed22ff1cf162b77b51e522b31ecaa119bc2e87..c68b56bd3169b9617659678696dd80f9bd7aa8df 100644 (file)
@@ -168,6 +168,13 @@ static void *merge_authz_core_dir_config(apr_pool_t *p,
     return (void*)conf;
 }
 
+/* Only per-server directive we have is GLOBAL_ONLY */
+static void *merge_authz_core_svr_config(apr_pool_t *p,
+                                         void *basev, void *newv)
+{
+    return basev;
+}
+
 static void *create_authz_core_svr_config(apr_pool_t *p, server_rec *s)
 {
     authz_core_srv_conf *authcfg;
@@ -1140,7 +1147,7 @@ AP_DECLARE_MODULE(authz_core) =
     create_authz_core_dir_config,   /* dir config creater */
     merge_authz_core_dir_config,    /* dir merger */
     create_authz_core_svr_config,   /* server config */
-    NULL,                           /* merge server config */
+    merge_authz_core_svr_config ,   /* merge server config */
     authz_cmds,
     register_hooks                  /* register hooks */
 };