Apache HTTPD
Macros | Functions

Macros

#define NOT_IN_VIRTUALHOST   0x01
 
#define NOT_IN_LIMIT   0x02
 
#define NOT_IN_DIRECTORY   0x04
 
#define NOT_IN_LOCATION   0x08
 
#define NOT_IN_FILES   0x10
 
#define NOT_IN_HTACCESS   0x20
 
#define NOT_IN_PROXY   0x40
 
#define NOT_IN_DIR_LOC_FILE   (NOT_IN_DIRECTORY|NOT_IN_LOCATION|NOT_IN_FILES)
 
#define NOT_IN_DIR_CONTEXT   (NOT_IN_LIMIT|NOT_IN_DIR_LOC_FILE|NOT_IN_PROXY)
 
#define GLOBAL_ONLY   (NOT_IN_VIRTUALHOST|NOT_IN_DIR_CONTEXT)
 

Functions

const charap_check_cmd_context (cmd_parms *cmd, unsigned forbidden)
 

Detailed Description

Macro Definition Documentation

◆ GLOBAL_ONLY

Forbidden in <VirtualHost>/<Limit>/<Directory>/<Location>/<Files>/<If><Proxy>

Definition at line 970 of file http_config.h.

◆ NOT_IN_DIR_CONTEXT

Forbidden in <Directory>/<Location>/<Files><If><Proxy>

Definition at line 968 of file http_config.h.

◆ NOT_IN_DIR_LOC_FILE

#define NOT_IN_DIR_LOC_FILE   (NOT_IN_DIRECTORY|NOT_IN_LOCATION|NOT_IN_FILES)

Forbidden in <Directory>/<Location>/<Files><If>

Definition at line 966 of file http_config.h.

◆ NOT_IN_DIRECTORY

#define NOT_IN_DIRECTORY   0x04

Forbidden in <Directory>

Definition at line 960 of file http_config.h.

◆ NOT_IN_FILES

#define NOT_IN_FILES   0x10

Forbidden in <Files> or <If>

Definition at line 962 of file http_config.h.

◆ NOT_IN_HTACCESS

#define NOT_IN_HTACCESS   0x20

Forbidden in .htaccess files

Definition at line 963 of file http_config.h.

◆ NOT_IN_LIMIT

#define NOT_IN_LIMIT   0x02

Forbidden in <Limit>

Definition at line 959 of file http_config.h.

◆ NOT_IN_LOCATION

#define NOT_IN_LOCATION   0x08

Forbidden in <Location>

Definition at line 961 of file http_config.h.

◆ NOT_IN_PROXY

#define NOT_IN_PROXY   0x40

Forbidden in <Proxy>

Definition at line 964 of file http_config.h.

◆ NOT_IN_VIRTUALHOST

#define NOT_IN_VIRTUALHOST   0x01

Forbidden in <VirtualHost>

Definition at line 958 of file http_config.h.

Function Documentation

◆ ap_check_cmd_context()

const char * ap_check_cmd_context ( cmd_parms cmd,
unsigned  forbidden 
)

Check the context a command is used in.

Parameters
cmdThe command to check
forbiddenWhere the command is forbidden.
Returns
Error string on error, NULL on success

< Forbidden in <VirtualHost>

< Forbidden in <Limit>

< Forbidden in <Directory>

< Forbidden in <Location>

< Forbidden in <Files> or <If>

< Forbidden in <Proxy>

< Forbidden in .htaccess files

< Forbidden in <Directory>

< Forbidden in <Location>

< Forbidden in <Files> or <If>

< Forbidden in <Directory>

< Forbidden in <Location>

< Forbidden in <Files> or <If>

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

< Forbidden in <Directory>

< Forbidden in <Location>

< Forbidden in <Files> or <If>

< Forbidden in <Proxy>

Definition at line 1301 of file core.c.