|
Apache2
|

Modules | |
| Binary notes recognized by the server | |
| Binary notes recognized by the server. | |
| HTTP Status Codes | |
| HTTPD specific values of apr_status_t | |
| List of Methods recognized by the server | |
| Methods recognized (but not necessarily handled) by the server. | |
| Module Magic mime types | |
| Possible values for request_rec.read_body | |
| Possible values for request_rec.used_path_info | |
| Proxy request types | |
Data Structures | |
| struct | ap_version_t |
| The numeric version information is broken out into fields within this structure. More... | |
| struct | htaccess_result |
| This represents the result of calling htaccess; these are cached for each request. More... | |
| struct | process_rec |
| A structure that represents one process. More... | |
| struct | request_rec |
| A structure that represents the current request. More... | |
Macros | |
| #define | DOCUMENT_LOCATION HTTPD_ROOT "/htdocs" |
| #define | DYNAMIC_MODULE_LIMIT 256 |
| #define | DEFAULT_ADMIN "[no address given]" |
| #define | DEFAULT_ERRORLOG "logs/error_log" |
| #define | DEFAULT_ACCESS_FNAME ".htaccess" |
| #define | DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin" |
| #define | SUEXEC_BIN HTTPD_ROOT "/bin/suexec" |
| #define | DEFAULT_TIMEOUT 60 |
| #define | DEFAULT_KEEPALIVE_TIMEOUT 5 |
| #define | DEFAULT_KEEPALIVE 100 |
| #define | DEFAULT_LIMIT_REQUEST_LINE 8190 |
| #define | DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190 |
| #define | DEFAULT_LIMIT_REQUEST_FIELDS 100 |
| #define | DEFAULT_LIMIT_BLANK_LINES 10 |
| #define | DEFAULT_ADD_DEFAULT_CHARSET_NAME "iso-8859-1" |
| #define | AP_SERVER_PROTOCOL "HTTP/1.1" |
| #define | AP_DEFAULT_INDEX "index.html" |
| #define | DOCTYPE_HTML_2_0 |
| #define | DOCTYPE_HTML_3_2 |
| #define | DOCTYPE_HTML_4_0S |
| #define | DOCTYPE_HTML_4_0T |
| #define | DOCTYPE_HTML_4_0F |
| #define | DOCTYPE_HTML_4_01 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n" |
| #define | DOCTYPE_HTML_5 "<!DOCTYPE html>\n" |
| #define | DOCTYPE_XHTML_1_0S |
| #define | DOCTYPE_XHTML_1_0T |
| #define | DOCTYPE_XHTML_1_0F |
| #define | HTTP_VERSION(major, minor) (1000*(major)+(minor)) |
| #define | HTTP_VERSION_MAJOR(number) ((number)/1000) |
| #define | HTTP_VERSION_MINOR(number) ((number)%1000) |
| #define | DEFAULT_HTTP_PORT 80 |
| #define | DEFAULT_HTTPS_PORT 443 |
| #define | ap_is_default_port(port, r) ((port) == ap_default_port(r)) |
| #define | ap_default_port(r) ap_run_default_port(r) |
| #define | ap_http_scheme(r) ap_run_http_scheme(r) |
| #define | MAX_STRING_LEN HUGE_STRING_LEN |
| #define | HUGE_STRING_LEN 8192 |
| #define | AP_IOBUFSIZE 8192 |
| #define | AP_MAX_REG_MATCH 10 |
| #define | AP_MAX_SENDFILE 16777216 /* 2^24 */ |
| #define | APEXIT_OK 0x0 |
| #define | APEXIT_INIT 0x2 |
| #define | APEXIT_CHILDINIT 0x3 |
| #define | APEXIT_CHILDSICK 0x7 |
| #define | APEXIT_CHILDFATAL 0xf |
| #define | OK 0 |
| #define | DECLINED -1 |
| #define | DONE -2 |
| #define | SUSPENDED -3 |
| #define | AP_NOBODY_WROTE -100 |
| #define | AP_NOBODY_READ -101 |
| #define | AP_FILTER_ERROR -102 |
| #define | LF 10 |
| #define | CR 13 |
| #define | CRLF "\015\012" |
| #define | CRLF_ASCII "\015\012" |
| #define | ZERO_ASCII "\060" |
Typedefs | |
| typedef struct process_rec | process_rec |
| typedef struct server_rec | server_rec |
| typedef struct conn_rec | conn_rec |
| typedef struct conn_slave_rec | conn_slave_rec |
| typedef struct request_rec | request_rec |
| typedef struct conn_state_t | conn_state_t |
Functions | |
| void | ap_get_server_revision (ap_version_t *version) |
| const char * | ap_get_server_banner (void) |
| const char * | ap_get_server_description (void) |
| void | ap_add_version_component (apr_pool_t *pconf, const char *component) |
| const char * | ap_get_server_built (void) |
| #define AP_DEFAULT_INDEX "index.html" |
Define this to be what your HTML directory content files are called
Get the default port for a request (which depends on the scheme).
| r | The request |
| #define AP_FILTER_ERROR -102 |
Returned by any filter if the filter chain encounters an error and has already dealt with the error response.
Get the scheme for a request.
| r | The request |
| #define AP_IOBUFSIZE 8192 |
The size of the server's internal read-write buffers
| #define ap_is_default_port | ( | port, | |
| r | |||
| ) | ((port) == ap_default_port(r)) |
Check whether port is the default port for the request r.
| port | The port number |
| r | The request |
| #define AP_MAX_REG_MATCH 10 |
The max number of regex captures that can be expanded by ap_pregsub
| #define AP_MAX_SENDFILE 16777216 /* 2^24 */ |
APR_HAS_LARGE_FILES introduces the problem of splitting sendfile into multiple buckets, no greater than MAX(apr_size_t), and more granular than that in case the brigade code/filters attempt to read it directly.
| #define AP_NOBODY_READ -101 |
Returned by the bottom-most filter if no data was read.
| #define AP_NOBODY_WROTE -100 |
Returned by the bottom-most filter if no data was written.
| #define AP_SERVER_PROTOCOL "HTTP/1.1" |
default HTTP Server protocol
| #define APEXIT_CHILDFATAL 0xf |
A fatal error, resulting in the whole server aborting. If a child exits with this error, the parent process considers this a server-wide fatal error and aborts.
| #define APEXIT_CHILDINIT 0x3 |
The child died during its init sequence
| #define APEXIT_CHILDSICK 0x7 |
The child exited due to a resource shortage. The parent should limit the rate of forking until the situation is resolved.
| #define APEXIT_INIT 0x2 |
A fatal error arising during the server's init sequence
| #define APEXIT_OK 0x0 |
MPM child process exit status values The MPM parent process may check the status to see if special error handling is required. a normal exit
| #define CR 13 |
carriage return
| #define CRLF "\015\012" |
carriage return /Line Feed Combo
| #define CRLF_ASCII "\015\012" |
Useful for common code with either platform charset.
| #define DECLINED -1 |
Module declines to handle
| #define DEFAULT_ACCESS_FNAME ".htaccess" |
Define this to be what your per-directory security files are called
| #define DEFAULT_ADD_DEFAULT_CHARSET_NAME "iso-8859-1" |
The default default character set name to add if AddDefaultCharset is enabled. Overridden with AddDefaultCharsetName.
| #define DEFAULT_ADMIN "[no address given]" |
Default administrator's address
| #define DEFAULT_ERRORLOG "logs/error_log" |
The name of the log files
| #define DEFAULT_HTTP_PORT 80 |
default HTTP Port
| #define DEFAULT_HTTPS_PORT 443 |
default HTTPS Port
| #define DEFAULT_KEEPALIVE 100 |
The number of requests to entertain per connection
| #define DEFAULT_KEEPALIVE_TIMEOUT 5 |
The timeout for waiting for keepalive timeout until next request
| #define DEFAULT_LIMIT_BLANK_LINES 10 |
default/hard limit on number of leading/trailing empty lines
| #define DEFAULT_LIMIT_REQUEST_FIELDS 100 |
default limit on number of request header fields
| #define DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190 |
default limit on bytes in any one header field
| #define DEFAULT_LIMIT_REQUEST_LINE 8190 |
default limit on bytes in Request-Line (Method+URI+HTTP-version)
| #define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin" |
The name of the server config file The default path for CGI scripts if none is currently set
| #define DEFAULT_TIMEOUT 60 |
The timeout for waiting for messages
| #define DOCTYPE_HTML_2_0 |
The name of the MIME types file HTML 2.0 Doctype
| #define DOCTYPE_HTML_3_2 |
HTML 3.2 Doctype
| #define DOCTYPE_HTML_4_01 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n" |
HTML 4.01 Doctype
| #define DOCTYPE_HTML_4_0F |
HTML 4.0 Frameset Doctype
| #define DOCTYPE_HTML_4_0S |
HTML 4.0 Strict Doctype
| #define DOCTYPE_HTML_4_0T |
HTML 4.0 Transitional Doctype
| #define DOCTYPE_HTML_5 "<!DOCTYPE html>\n" |
HTML 5 Doctype
| #define DOCTYPE_XHTML_1_0F |
XHTML 1.0 Frameset Doctype
| #define DOCTYPE_XHTML_1_0S |
XHTML 1.0 Strict Doctype
| #define DOCTYPE_XHTML_1_0T |
XHTML 1.0 Transitional Doctype
| #define DOCUMENT_LOCATION HTTPD_ROOT "/htdocs" |
Define this to be the default server home dir. Most things later in this file with a relative pathname will have this added. Default location of documents. Can be overridden by the DocumentRoot directive.
| #define DONE -2 |
Module has served the response completely
| #define DYNAMIC_MODULE_LIMIT 256 |
Maximum number of dynamically loaded modules
| #define HTTP_VERSION | ( | major, | |
| minor | |||
| ) | (1000*(major)+(minor)) |
Internal representation for a HTTP protocol number, e.g., HTTP/1.1
| #define HTTP_VERSION_MAJOR | ( | number | ) | ((number)/1000) |
Major part of HTTP protocol
| #define HTTP_VERSION_MINOR | ( | number | ) | ((number)%1000) |
Minor part of HTTP protocol
| #define HUGE_STRING_LEN 8192 |
The length of a Huge string
| #define LF 10 |
linefeed
| #define MAX_STRING_LEN HUGE_STRING_LEN |
The default string length
| #define OK 0 |
Module has handled this stage.
| #define SUEXEC_BIN HTTPD_ROOT "/bin/suexec" |
The path to the suExec wrapper, can be overridden in Configuration
| #define SUSPENDED -3 |
Module will handle the remainder of the request. The core will never invoke the request again,
| #define ZERO_ASCII "\060" |
| typedef struct conn_slave_rec conn_slave_rec |
A structure that represents one slave connection
| typedef struct conn_state_t conn_state_t |
A structure that represents the status of the current connection
| typedef struct process_rec process_rec |
A structure that represents one process
| typedef struct request_rec request_rec |
A structure that represents the current request
| typedef struct server_rec server_rec |
A structure that represents a virtual server
| void ap_add_version_component | ( | apr_pool_t * | pconf, |
| const char * | component | ||
| ) |
Add a component to the server description and banner strings
| pconf | The pool to allocate the component from |
| component | The string to add |
| const char* ap_get_server_banner | ( | void | ) |
Get the server banner in a form suitable for sending over the network, with the level of information controlled by the ServerTokens directive.
| const char* ap_get_server_built | ( | void | ) |
Get the date a time that the server was built
| const char* ap_get_server_description | ( | void | ) |
Get the server description in a form suitable for local displays, status reports, or logging. This includes the detailed server version and information about some modules. It is not affected by the ServerTokens directive.
| void ap_get_server_revision | ( | ap_version_t * | version | ) |
Return httpd's version information in a numeric form.
| version | Pointer to a version structure for returning the version information. |