Apache HTTPD
Macros
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>

Definition at line 240 of file http_config.h.

◆ 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

Definition at line 244 of file http_config.h.

◆ NONFATAL_ALL

Definition at line 250 of file http_config.h.

◆ NONFATAL_OVERRIDE

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

Definition at line 248 of file http_config.h.

◆ NONFATAL_UNKNOWN

#define NONFATAL_UNKNOWN   1024 /* Unrecognised directive */

Definition at line 249 of file http_config.h.

◆ OR_ALL

this directive can be placed anywhere

Definition at line 255 of file http_config.h.

◆ OR_AUTHCFG

#define OR_AUTHCFG   8

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

Definition at line 236 of file http_config.h.

◆ OR_FILEINFO

#define OR_FILEINFO   4

*.conf anywhere and .htaccess when AllowOverride FileInfo

Definition at line 234 of file http_config.h.

◆ OR_INDEXES

#define OR_INDEXES   16

*.conf anywhere and .htaccess when AllowOverride Indexes

Definition at line 238 of file http_config.h.

◆ OR_LIMIT

#define OR_LIMIT   1

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

Definition at line 230 of file http_config.h.

◆ OR_NONE

#define OR_NONE   0

*.conf is not available anywhere in this override

Definition at line 228 of file http_config.h.

◆ OR_OPTIONS

#define OR_OPTIONS   2

*.conf anywhere and .htaccess when AllowOverride Options

Definition at line 232 of file http_config.h.

◆ OR_UNSET

#define OR_UNSET   32

bit to indicate that AllowOverride has not been set

Definition at line 239 of file http_config.h.

◆ PROXY_CONF

#define PROXY_CONF   2048

*.conf inside <Proxy> only

Definition at line 252 of file http_config.h.

◆ RSRC_CONF

#define RSRC_CONF   128

*.conf outside <Directory> or <Location>

Definition at line 241 of file http_config.h.