Apache Reference Manual (6)

KeepAliveTimeout directive
Syntax: KeepAliveTimeout seconds
Default: KeepAliveTimeout 15
Context: server config
Status: Core
Compatibility: KeepAliveTimeout is only available in Apache 1.1 and later.
The number of seconds Apache will wait for a subsequent request before closing the connection. Once a request has been received, the timeout value specified by the Timeout directive applies.
--------------------------------------------------------------------------------
<Limit> directive
Syntax: <Limit method method ... > ... </Limit>
Context: any
Status: core
Access controls are normally effective for all access methods, and this is the usual desired behaviour. In the general case, access control directives should not be placed within a <limit> section.
The purpose of the <Limit> directive is to restrict the effect of the access controls to the nominated HTTP methods. For all other methods, the access restrictions that are enclosed in the <Limit> bracket will have no effect. The following example applies the access control only to the methods POST, PUT, and DELETE, leaving all other methods unprotected:
<Limit POST PUT DELETE>
require valid-user
</Limit>
The method names listed can be one or more of: GET, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK. The method name is case-sensitive. If GET is used it will also restrict HEAD requests.
--------------------------------------------------------------------------------
<LimitExcept> directive
Syntax: <LimitExcept method method ... > ... </LimitExcept>
Context: any
Status: core
Compatibility: Available in Apache 1.3.5 and later
<LimitExcept> and </LimitExcept> are used to enclose a group of access control directives which will then apply to any HTTP access method not listed in the arguments; i.e., it is the opposite of a <Limit> section and can be used to control both standard and nonstandard/unrecognized methods. See the documentation for <Limit> for more details.

时间: 2024-07-29 12:35:01

Apache Reference Manual (6)的相关文章

Apache Reference Manual (11)

ServerRoot directiveSyntax: ServerRoot directory-filenameDefault: ServerRoot /usr/local/apacheContext: server configStatus: coreThe ServerRoot directive sets the directory in which the server lives. Typically it will contain the subdirectories conf/

Apache Reference Manual (2)

AuthName directiveSyntax: AuthName auth-domainContext: directory, .htaccessOverride: AuthConfigStatus: coreThis directive sets the name of the authorization realm for a directory. This realm is given to the client so that the user knows which usernam

Apache Reference Manual (4)

<DirectoryMatch>Syntax: <DirectoryMatch regex> ... </DirectoryMatch> Context: server config, virtual hostStatus: Core.Compatibility: Available in Apache 1.3 and later <DirectoryMatch> and </DirectoryMatch> are used to enclose

Apache Reference Manual (9)

PidFile directiveSyntax: PidFile filenameDefault: PidFile logs/httpd.pidContext: server configStatus: coreThe PidFile directive sets the file to which the server records the process id of the daemon. If the filename does not begin with a slash (/) th

Apache Reference Manual (5)

<FilesMatch>Syntax: <FilesMatch regex> ... </FilesMatch>Context: server config, virtual host, .htaccessStatus: coreCompatibility: only available in Apache 1.3 and above.The <FilesMatch> directive provides for access control by file

Apache Reference Manual (1)

Apache Core FeaturesThese configuration parameters control the core Apache features, and are always available.AccessConfig directiveSyntax: AccessConfig filenameDefault: AccessConfig conf/access.confContext: server config, virtual hostStatus: coreThe

Apache Reference Manual (3)

ContentDigest directiveSyntax: ContentDigest on|offDefault: ContentDigest offContext: server config, virtual host, directory, .htaccessOverride: OptionsStatus: experimentalCompatibility: ContentDigest is only available in Apache 1.1 and laterThis dir

Apache Reference Manual (8)

MaxRequestsPerChild directiveSyntax: MaxRequestsPerChild numberDefault: MaxRequestsPerChild 0Context: server configStatus: coreThe MaxRequestsPerChild directive sets the limit on the number of requests that an individual child server process will han

Apache Reference Manual (10)

Satisfy directiveSyntax: Satisfy 'any' or 'all'Default: Satisfy allContext: directory, .htaccessStatus: coreCompatibility: Satisfy is only available in Apache 1.2 and laterAccess policy if both allow and require used. The parameter can be either 'all