Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.arcetri.astro.it/manual/ru/mod/quickreference.html
Дата изменения: Tue Feb 19 02:08:23 2013 Дата индексирования: Fri Feb 28 07:58:44 2014 Кодировка: koi8-r Поисковые слова: п п р р р р р р р р р р р р р р |
HTTP сервер Apache версии 2.2
В кратком справочнике по директивам вы найдёте информацию о том, как использовать ту или иную директиву, её значение по умолчанию, статус и контекст. Для расшифровки понятий «статус» и «контекст», обратитесь к Словарю.
В первой колонке приводится название директивы и описание её использования. Во второй - значение по умолчанию, если таковое есть у директивы. Если это значение слишком велико, то после первых букв идет значёк «+».
В третьей и четвёртой колонках даются значения контекста, в котором данная директива имеет смысл (может использоваться), и её статус. Все сокращения, используемые при этом, расшифровываются в следующей таблице.
A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | W | X |
|
|
AcceptFilter protocol accept_filter | s | C | |
Configures optimizations for a Protocol's Listener Sockets | |||
AcceptMutex Default|method | Default | s | M |
Method that Apache uses to serialize multiple children accepting requests on network sockets | |||
AcceptPathInfo On|Off|Default | Default | svdh | C |
Resources accept trailing pathname information | |||
AccessFileName filename [filename] ... | .htaccess | sv | C |
Name of the distributed configuration file | |||
Action action-type cgi-script [virtual] | svdh | B | |
Activates a CGI script for a particular handler or content-type | |||
AddAlt string file [file] ... | svdh | B | |
Alternate text to display for a file, instead of an icon selected by filename | |||
AddAltByEncoding string MIME-encoding [MIME-encoding] ... | svdh | B | |
Alternate text to display for a file instead of an icon selected by MIME-encoding | |||
AddAltByType string MIME-type [MIME-type] ... | svdh | B | |
Alternate text to display for a file, instead of an icon selected by MIME content-type | |||
AddCharset charset extension [extension] ... | svdh | B | |
Maps the given filename extensions to the specified content charset | |||
AddDefaultCharset On|Off|charset | Off | svdh | C |
Default charset parameter to be added when a response
content-type is text/plain or text/html | |||
AddDescription string file [file] ... | svdh | B | |
Description to display for a file | |||
AddEncoding MIME-enc extension [extension] ... | svdh | B | |
Maps the given filename extensions to the specified encoding type | |||
AddHandler handler-name extension [extension] ... | svdh | B | |
Maps the filename extensions to the specified handler | |||
AddIcon icon name [name] ... | svdh | B | |
Icon to display for a file selected by name | |||
AddIconByEncoding icon MIME-encoding [MIME-encoding] ... | svdh | B | |
Icon to display next to files selected by MIME content-encoding | |||
AddIconByType icon MIME-type [MIME-type] ... | svdh | B | |
Icon to display next to files selected by MIME content-type | |||
AddInputFilter filter[;filter...] extension [extension] ... | svdh | B | |
Maps filename extensions to the filters that will process client requests | |||
AddLanguage MIME-lang extension [extension] ... | svdh | B | |
Maps the given filename extension to the specified content language | |||
AddModuleInfo module-name string | sv | E | |
Adds additional information to the module information displayed by the server-info handler | |||
AddOutputFilter filter[;filter...] extension [extension] ... | svdh | B | |
Maps filename extensions to the filters that will process responses from the server | |||
AddOutputFilterByType filter[;filter...] MIME-type [MIME-type] ... | svdh | C | |
assigns an output filter to a particular MIME-type | |||
AddType MIME-type extension [extension] ... | svdh | B | |
Maps the given filename extensions onto the specified content type | |||
Alias URL-path file-path|directory-path | sv | B | |
Maps URLs to filesystem locations | |||
AliasMatch regex file-path|directory-path | sv | B | |
Maps URLs to filesystem locations using regular expressions | |||
Allow from all|host|env=[!]env-variable [host|env=[!]env-variable] ... | dh | B | |
Controls which hosts can access an area of the server | |||
AllowCONNECT port [port] ... | 443 563 | sv | E |
Ports that are allowed to CONNECT through the
proxy | |||
AllowEncodedSlashes On|Off|NoDecode | Off | sv | C |
Determines whether encoded path separators in URLs are allowed to be passed through | |||
AllowOverride All|None|directive-type [directive-type] ... | All | d | C |
Types of directives that are allowed in
.htaccess files | |||
Anonymous user [user] ... | dh | E | |
Specifies userIDs that are allowed access without password verification | |||
Anonymous_LogEmail On|Off | On | dh | E |
Sets whether the password entered will be logged in the error log | |||
Anonymous_MustGiveEmail On|Off | On | dh | E |
Specifies whether blank passwords are allowed | |||
Anonymous_NoUserID On|Off | Off | dh | E |
Sets whether the userID field may be empty | |||
Anonymous_VerifyEmail On|Off | Off | dh | E |
Sets whether to check the password field for a correctly formatted email address | |||
AuthBasicAuthoritative On|Off | On | dh | B |
Sets whether authorization and authentication are passed to lower level modules | |||
AuthBasicProvider provider-name [provider-name] ... | file | dh | B |
Sets the authentication provider(s) for this location | |||
AuthDBDUserPWQuery query | d | E | |
SQL query to look up a password for a user | |||
AuthDBDUserRealmQuery query | d | E | |
SQL query to look up a password hash for a user and realm. | |||
AuthDBMGroupFile file-path | dh | E | |
Sets the name of the database file containing the list of user groups for authorization | |||
AuthDBMType default|SDBM|GDBM|NDBM|DB | default | dh | E |
Sets the type of database file that is used to store passwords | |||
AuthDBMUserFile file-path | dh | E | |
Sets the name of a database file containing the list of users and passwords for authentication | |||
AuthDefaultAuthoritative On|Off | On | dh | B |
Sets whether authentication is passed to lower level modules | |||
AuthDigestAlgorithm MD5|MD5-sess | MD5 | dh | E |
Selects the algorithm used to calculate the challenge and response hashes in digest authentication | |||
AuthDigestDomain URI [URI] ... | dh | E | |
URIs that are in the same protection space for digest authentication | |||
AuthDigestNcCheck On|Off | Off | s | E |
Enables or disables checking of the nonce-count sent by the server | |||
AuthDigestNonceFormat format | dh | E | |
Determines how the nonce is generated | |||
AuthDigestNonceLifetime seconds | 300 | dh | E |
How long the server nonce is valid | |||
AuthDigestProvider provider-name [provider-name] ... | file | dh | E |
Sets the authentication provider(s) for this location | |||
AuthDigestQop none|auth|auth-int [auth|auth-int] | auth | dh | E |
Determines the quality-of-protection to use in digest authentication | |||
AuthDigestShmemSize size | 1000 | s | E |
The amount of shared memory to allocate for keeping track of clients | |||
AuthGroupFile file-path | dh | B | |
Sets the name of a text file containing the list of user groups for authorization | |||
AuthLDAPBindAuthoritativeoff|on | on | dh | E |
Determines if other authentication providers are used when a user can be mapped to a DN but the server cannot successfully bind with the user's credentials. | |||
AuthLDAPBindDN distinguished-name | dh | E | |
Optional DN to use in binding to the LDAP server | |||
AuthLDAPBindPassword password | dh | E | |
Password used in conjuction with the bind DN | |||
AuthLDAPCharsetConfig file-path | s | E | |
Language to charset conversion configuration file | |||
AuthLDAPCompareDNOnServer on|off | on | dh | E |
Use the LDAP server to compare the DNs | |||
AuthLDAPDereferenceAliases never|searching|finding|always | Always | dh | E |
When will the module de-reference aliases | |||
AuthLDAPGroupAttribute attribute | member uniquemember + | dh | E |
LDAP attributes used to check for group membership | |||
AuthLDAPGroupAttributeIsDN on|off | on | dh | E |
Use the DN of the client username when checking for group membership | |||
AuthLDAPRemoteUserAttribute uid | dh | E | |
Use the value of the attribute returned during the user query to set the REMOTE_USER environment variable | |||
AuthLDAPRemoteUserIsDN on|off | off | dh | E |
Use the DN of the client username to set the REMOTE_USER environment variable | |||
AuthLDAPUrl url [NONE|SSL|TLS|STARTTLS] | dh | E | |
URL specifying the LDAP search parameters | |||
AuthName auth-domain | dh | C | |
Authorization realm for use in HTTP authentication | |||
<AuthnProviderAlias baseProvider Alias> ... </AuthnProviderAlias> | s | E | |
Enclose a group of directives that represent an extension of a base authentication provider and referenced by the specified alias | |||
AuthType Basic|Digest | dh | C | |
Type of user authentication | |||
AuthUserFile file-path | dh | B | |
Sets the name of a text file containing the list of users and passwords for authentication | |||
AuthzDBMAuthoritative On|Off | On | dh | E |
Sets whether authorization will be passed on to lower level modules | |||
AuthzDBMType default|SDBM|GDBM|NDBM|DB | default | dh | E |
Sets the type of database file that is used to store list of user groups | |||
AuthzDefaultAuthoritative On|Off | On | dh | B |
Sets whether authorization is passed to lower level modules | |||
AuthzGroupFileAuthoritative On|Off | On | dh | B |
Sets whether authorization will be passed on to lower level modules | |||
AuthzLDAPAuthoritative on|off | on | dh | E |
Prevent other authentication modules from authenticating the user if this one fails | |||
AuthzOwnerAuthoritative On|Off | On | dh | E |
Sets whether authorization will be passed on to lower level modules | |||
AuthzUserAuthoritative On|Off | On | dh | B |
Sets whether authorization will be passed on to lower level modules | |||
BalancerMember [balancerurl] url [key=value [key=value ...]] | d | E | |
Add a member to a load balancing group | |||
BrowserMatch regex [!]env-variable[=value] [[!]env-variable[=value]] ... | svdh | B | |
Sets environment variables conditional on HTTP User-Agent | |||
BrowserMatchNoCase regex [!]env-variable[=value] [[!]env-variable[=value]] ... | svdh | B | |
Sets environment variables conditional on User-Agent without respect to case | |||
BufferedLogs On|Off | Off | s | B |
Buffer log entries in memory before writing to disk | |||
CacheDefaultExpire seconds | 3600 (one hour) | sv | E |
The default duration to cache a document when no expiry date is specified. | |||
CacheDirLength length | 2 | sv | E |
The number of characters in subdirectory names | |||
CacheDirLevels levels | 3 | sv | E |
The number of levels of subdirectories in the cache. | |||
CacheDisable url-string | sv | E | |
Disable caching of specified URLs | |||
CacheEnable cache_type url-string | sv | E | |
Enable caching of specified URLs using a specified storage manager | |||
CacheFile file-path [file-path] ... | s | X | |
Cache a list of file handles at startup time | |||
CacheIgnoreCacheControl On|Off | Off | sv | E |
Ignore request to not serve cached content to client | |||
CacheIgnoreHeaders header-string [header-string] ... | None | sv | E |
Do not store the given HTTP header(s) in the cache. | |||
CacheIgnoreNoLastMod On|Off | Off | sv | E |
Ignore the fact that a response has no Last Modified header. | |||
CacheIgnoreQueryString On|Off | Off | sv | E |
Ignore query string when caching | |||
CacheIgnoreURLSessionIdentifiers identifier [identifier] ... | None | sv | E |
Ignore defined session identifiers encoded in the URL when caching | |||
CacheLastModifiedFactor float | 0.1 | sv | E |
The factor used to compute an expiry date based on the LastModified date. | |||
CacheLock on|off | off | sv | E |
Enable the thundering herd lock. | |||
CacheLockMaxAge integer | 5 | sv | E |
Set the maximum possible age of a cache lock. | |||
CacheLockPath directory | /tmp/mod_cache-lock + | sv | E |
Set the lock path directory. | |||
CacheMaxExpire seconds | 86400 (one day) | sv | E |
The maximum time in seconds to cache a document | |||
CacheMaxFileSize bytes | 1000000 | sv | E |
The maximum size (in bytes) of a document to be placed in the cache | |||
CacheMinFileSize bytes | 1 | sv | E |
The minimum size (in bytes) of a document to be placed in the cache | |||
CacheNegotiatedDocs On|Off | Off | sv | B |
Allows content-negotiated documents to be cached by proxy servers | |||
CacheRoot directory | sv | E | |
The directory root under which cache files are stored | |||
CacheStoreNoStore On|Off | Off | sv | E |
Attempt to cache requests or responses that have been marked as no-store. | |||
CacheStorePrivate On|Off |