mod_authn_default - Apache HTTP Server

Apache HTTP Server Version 2.2

Apache > HTTP Server > Documentation > Version 2.2 > Modules

# Apache Module mod_authn_default

Available Languages: en | ja | ko

Description: | Authentication fallback module
Status: | Base
Module Identifier: | authn_default_module
Source File: | mod_authn_default.c
Compatibility: | Available in Apache 2.1 and later

### Summary

This module is designed to be the fallback module, if you don't have configured an authentication module like `mod_auth_basic`. It simply rejects any credentials supplied by the user.

### Directives

## AuthDefaultAuthoritative Directive

Description: | Sets whether authentication is passed to lower level modules
Syntax: | `AuthDefaultAuthoritative On|Off`
Default: | `AuthDefaultAuthoritative On`
Context: | directory, .htaccess
Override: | AuthConfig
Status: | Base
Module: | mod_authn_default

Setting the `AuthDefaultAuthoritative` directive explicitly to `Off` allows for authentication to be passed on to lower level modules (as defined in the `modules.c` files).

### Note

Normally there are no lower level modules, since `mod_authn_default` is defined to be already on a very low level. Therefore you should leave the value of `AuthDefaultAuthoritative` as default (`On`).

Available Languages: en | ja | ko