mod_auth_basicmod_auth_basic overviewmod_auth_basic module enables support of HTTP Basic Authentication to restrict access by looking up users in the given providers. This module should usually be used together with at least one authentication module such as mod_authn_file and one authorization module such as mod_authz_user.
Note!
mod_auth_basic directivesAuthBasicAuthoritative
Normally, each authorization module listed in AuthBasicProvider will attempt to verify the user, and if the user is not found in any provider, access will be denied with "401 Authorization Required" response. Setting AuthBasicAuthoritative directive to off allows to pass both authentication and authorization to other non-provider-based modules (e.g. to modules that cannot be defined in AuthBasicProvider directive). AuthBasicProvider
AuthBasicProvider directive sets which provider is used for user authentication. The default provider is mod_authn_file module. Example:
|