mod_authz_default - Apache HTTP Server Version 2.2

Apache HTTP Server Version 2.2

Apache > HTTP Server > Documentation > Version 2.2 > Modules

#### Please note

This document refers to a legacy release (2.2) of Apache httpd. The active release (2.4) 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_authz_default

Available Languages: en | ja | ko

Description: | Authorization fallback module
Status: | Base
Module Identifier: | authz_default_module
Source File: | mod_authz_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 authorization module like `mod_authz_user` or `mod_authz_groupfile`. It simply rejects any authorization request.

### Directives

- Comments

## AuthzDefaultAuthoritative Directive

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

Setting the `AuthzDefaultAuthoritative` directive explicitly to `Off` allows for authorization 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_authz_default` is defined to be already on a very low level. Therefore you should leave the value of `AuthzDefaultAuthoritative` 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.