1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

There is only one global provider name space, therefore allow

LuaAuthzProvider only in global scope.

Remove unnecessary server config field.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2012-08-07 19:38:09 +00:00
parent d7b20ffb70
commit 7393da8892
2 changed files with 1 additions and 3 deletions

View File

@@ -1324,7 +1324,7 @@ static const char *register_authz_provider(cmd_parms *cmd, void *_cfg,
const char *function)
{
lua_authz_provider_spec *spec;
const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE);
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
if (err)
return err;

View File

@@ -138,8 +138,6 @@ typedef struct
/* value of the LuaRoot directive */
const char *root_path;
apr_hash_t *authz_providers;
} ap_lua_server_cfg;
typedef struct