Access Control for Sub-Requests and
Collaboration diagram for Access Control for Sub-Requests and:


#define AP_AUTH_INTERNAL_MASK   0x000F


void ap_clear_auth_internal (void)
void ap_setup_auth_internal (apr_pool_t *ptemp)
apr_status_t ap_register_auth_provider (apr_pool_t *pool, const char *provider_group, const char *provider_name, const char *provider_version, const void *provider, int type)

Detailed Description

Internal Redirects

Macro Definition Documentation


#define AP_AUTH_INTERNAL_MASK   0x000F

mask to extract internal request processing mode



Run access control hooks only on internal requests with configurations distinct from that of initial request



Run access control hooks on all internal requests with URIs distinct from that of initial request

Function Documentation

◆ ap_clear_auth_internal()

void ap_clear_auth_internal ( void  )

Clear flag which determines when access control hooks will be run for internal requests.

◆ ap_register_auth_provider()

apr_status_t ap_register_auth_provider ( apr_pool_t pool,
const char *  provider_group,
const char *  provider_name,
const char *  provider_version,
const void *  provider,
int  type 

Register an authentication or authorization provider with the global provider pool.

poolThe pool to create any storage from
provider_groupThe group to store the provider in
provider_nameThe name for this provider
provider_versionThe version for this provider
providerOpaque structure for this provider
typeInternal request processing mode, either AP_AUTH_INTERNAL_PER_URI or AP_AUTH_INTERNAL_PER_CONF
APR_SUCCESS if all went well

◆ ap_setup_auth_internal()

void ap_setup_auth_internal ( apr_pool_t ptemp)

Determine whether access control hooks will be run for all internal requests with URIs distinct from that of the initial request, or only those for which different configurations apply than those which applied to the initial request. To accommodate legacy external modules which may expect access control hooks to be run for all internal requests with distinct URIs, this is the default behaviour unless all access control hooks and authentication and authorization providers are registered with AP_AUTH_INTERNAL_PER_CONF.

ptempPool used for temporary allocations