Apache2
Allowed locations for configuration directives.
Collaboration diagram for Allowed locations for configuration directives.:

Macros

#define OR_NONE   0
 
#define OR_LIMIT   1
 
#define OR_OPTIONS   2
 
#define OR_FILEINFO   4
 
#define OR_AUTHCFG   8
 
#define OR_INDEXES   16
 
#define OR_UNSET   32
 
#define ACCESS_CONF   64
 
#define RSRC_CONF   128
 
#define EXEC_ON_READ   256
 
#define NONFATAL_OVERRIDE   512 /* Violation of AllowOverride rule */
 
#define NONFATAL_UNKNOWN   1024 /* Unrecognised directive */
 
#define NONFATAL_ALL   (NONFATAL_OVERRIDE|NONFATAL_UNKNOWN)
 
#define PROXY_CONF   2048
 
#define OR_ALL   (OR_LIMIT|OR_OPTIONS|OR_FILEINFO|OR_AUTHCFG|OR_INDEXES)
 

Detailed Description

The allowed locations for a configuration directive are the union of those indicated by each set bit in the req_override mask.

Macro Definition Documentation

◆ ACCESS_CONF

#define ACCESS_CONF   64

*.conf inside <Directory> or <Location>

◆ EXEC_ON_READ

#define EXEC_ON_READ   256

force directive to execute a command which would modify the configuration (like including another file, or IFModule

◆ NONFATAL_ALL

#define NONFATAL_ALL   (NONFATAL_OVERRIDE|NONFATAL_UNKNOWN)

◆ NONFATAL_OVERRIDE

#define NONFATAL_OVERRIDE   512 /* Violation of AllowOverride rule */

◆ NONFATAL_UNKNOWN

#define NONFATAL_UNKNOWN   1024 /* Unrecognised directive */

◆ OR_ALL

this directive can be placed anywhere

◆ OR_AUTHCFG

#define OR_AUTHCFG   8

*.conf inside <Directory> or <Location> and .htaccess when AllowOverride AuthConfig

◆ OR_FILEINFO

#define OR_FILEINFO   4

*.conf anywhere and .htaccess when AllowOverride FileInfo

◆ OR_INDEXES

#define OR_INDEXES   16

*.conf anywhere and .htaccess when AllowOverride Indexes

◆ OR_LIMIT

#define OR_LIMIT   1

*.conf inside <Directory> or <Location> and .htaccess when AllowOverride Limit

◆ OR_NONE

#define OR_NONE   0

*.conf is not available anywhere in this override

◆ OR_OPTIONS

#define OR_OPTIONS   2

*.conf anywhere and .htaccess when AllowOverride Options

◆ OR_UNSET

#define OR_UNSET   32

bit to indicate that AllowOverride has not been set

◆ PROXY_CONF

#define PROXY_CONF   2048

*.conf inside <Proxy> only

◆ RSRC_CONF

#define RSRC_CONF   128

*.conf outside <Directory> or <Location>