Apache > HTTP Server > Documentation > Version 2.2 > Modules

Please note

This document refers to the 2.2 version of Apache httpd, which is no longer maintained. The active release is documented here. If you have not already upgraded, please follow this link for more information.

You may follow this link to go to the current version of this document.

Apache Module mod_authn_default

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


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.



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).


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).