mod_authn_default - Apache HTTP Server Version 2.2

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

- Comments

## 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

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.