apche OR_NONE OR_LIMIT OR_OPTIONS OR_FILEINFO OR_AUTHCFG OR_INDEXES OR_UNSET ACCESS_CONF RSRC_CONF

apache 配置属性 位置
#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 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.


Define Documentation#define ACCESS_CONF   64

*.conf inside <Directory> or <Location>

Definition at line 223 of file http_config.h.

#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 225 of file http_config.h.

#define OR_ALL   (OR_LIMIT|OR_OPTIONS|OR_FILEINFO|OR_AUTHCFG|OR_INDEXES)

this directive can be placed anywhere

Definition at line 229 of file http_config.h.

Referenced by APR_HOOK_STRUCT().

#define OR_AUTHCFG   8

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

Definition at line 218 of file http_config.h.

#define OR_FILEINFO   4

*.conf anywhere and .htaccess when AllowOverride FileInfo

Definition at line 216 of file http_config.h.

#define OR_INDEXES   16

*.conf anywhere and .htaccess when AllowOverride Indexes

Definition at line 220 of file http_config.h.

#define OR_LIMIT   1

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

Definition at line 212 of file http_config.h.

#define OR_NONE   0

*.conf is not available anywhere in this override

Definition at line 211 of file http_config.h.

#define OR_OPTIONS   2

*.conf anywhere and .htaccess when AllowOverride Options

Definition at line 214 of file http_config.h.

#define OR_UNSET   32

unset a directive (in Allow)

Definition at line 222 of file http_config.h.

Referenced by APR_HOOK_STRUCT().

#define RSRC_CONF   128

*.conf outside <Directory> or <Location>

Definition at line 224 of file http_config.h.

Referenced by ap_mpm_run().

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>