Apache Reference Manual (1)

Apache Core Features
These configuration parameters control the core Apache features, and are always available.
AccessConfig directive
Syntax: AccessConfig filename
Default: AccessConfig conf/access.conf
Context: server config, virtual host
Status: core
The server will read this file for more directives after reading the ResourceConfig file. Filename is relative to the ServerRoot. This feature can be disabled using:
AccessConfig /dev/null
Historically, this file only contained <Directory> sections; in fact it can now contain any server directive allowed in the server config context.
--------------------------------------------------------------------------------
AccessFileName directive
Syntax: AccessFileName filename filename ...
Default: AccessFileName .htaccess
Context: server config, virtual host
Status: core
Compatibility: AccessFileName can accept more than one filename only in Apache 1.3 and later
When returning a document to the client the server looks for the first existing access control file from this list of names in every directory of the path to the document, if access control files are enabled for that directory. For example:
AccessFileName .acl
before returning the document /usr/local/web/index.html, the server will read /.acl, /usr/.acl, /usr/local/.acl and /usr/local/web/.acl for directives, unless they have been disabled with
<Directory />
AllowOverride None
</Directory>
--------------------------------------------------------------------------------
AddModule directive
Syntax: AddModule module module ...
Context: server config
Status: core
Compatibility: AddModule is only available in Apache 1.2 and later
The server can have modules compiled in which are not actively in use. This directive can be used to enable the use of those modules. The server comes with a pre-loaded list of active modules; this list can be cleared with the ClearModuleList directive.

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

Apache Reference Manual (1)的相关文章

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 (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 (6)

KeepAliveTimeout directiveSyntax: KeepAliveTimeout secondsDefault: KeepAliveTimeout 15Context: server configStatus: CoreCompatibility: KeepAliveTimeout is only available in Apache 1.1 and later.The number of seconds Apache will wait for a subsequent

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