AcceptFilter protocol accept_filter | | s | C |
根据协议类型对监听Socket进行优化 |
AcceptMutex Default|method | Default | s | M |
Apache用于串行化多个子进程在(多个)网络套接字(socket)上接受请求的方法 |
AcceptPathInfo On|Off|Default | Default | svdh | C |
是否接受附带多余路径名信息的请求 |
AccessFileName filename [filename] ... | .htaccess | sv | C |
分布式配置文件的名字 |
Action action-type cgi-script [virtual] | | svdh | B |
针对特定的处理器或内容类型激活一个CGI脚本 |
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 |
在给定的文件扩展名与特定的字符集之间建立映射 |
AddDefaultCharset On|Off|charset | Off | svdh | C |
当应答内容是text/plain或text/html时,在HTTP应答头中加入的默认字符集 |
AddDescription string file [file] ... | | svdh | B |
Description to display for a file |
AddEncoding MIME-enc extension [extension] ... | | svdh | B |
在文件扩展名与特定的编码方式之间建立映射关系 |
AddHandler handler-name extension [extension] ... | | svdh | B |
在文件扩展名与特定的处理器之间建立映射 |
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 |
在文件扩展名与特定的输入过滤器之间建立映射 |
AddLanguage MIME-lang extension [extension] ... | | svdh | B |
在文件扩展名与特定的语言之间建立映射 |
AddModuleInfo module-name string | | sv | E |
为server-info处理器显示的模块增加额外信息 |
AddOutputFilter filter[;filter...]
extension [extension] ... | | svdh | B |
在文件扩展名与特定的输出过滤器之间建立映射关系 |
AddOutputFilterByType filter[;filter...]
MIME-type [MIME-type] ... | | svdh | C |
对特定的MIME类型指定输出过滤器 |
AddType MIME-type extension [extension] ... | | svdh | B |
在给定的文件扩展名与特定的内容类型之间建立映射 |
Alias URL-path
file-path|directory-path | | sv | B |
映射URL到文件系统的特定区域 |
AliasMatch regex
file-path|directory-path | | sv | B |
使用正则表达式映射URL到文件系统 |
Allow from all|host|env=env-variable
[host|env=env-variable] ... | | dh | B |
控制哪些主机能够访问服务器的该区域 |
AllowCONNECT port [port] ... | 443 563 | sv | E |
通过代理允许CONNECT的端口号 |
AllowEncodedSlashes On|Off | Off | sv | C |
确定是否允许URL中使用经过编码的路径分割符 |
AllowOverride All|None|directive-type
[directive-type] ... | All | d | C |
确定允许存在于.htaccess文件中的指令类型 |
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 |
指定是否将(基本)认证和授权操作交由更底层的模块来处理 |
AuthBasicProvider provider-name
[provider-name] ... | file | dh | B |
设置该区域的(基本)认证支持者(Provider) |
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 |
指定是否将认证操作交由更底层的模块来处理 |
AuthDigestAlgorithm MD5|MD5-sess | MD5 | dh | X |
选择在摘要认证中用于计算请求和应答的散列值的算法 |
AuthDigestDomain URI [URI] ... | | dh | X |
在同一保护区域中需要进行摘要认证的URI |
AuthDigestNcCheck On|Off | Off | s | X |
Enables or disables checking of the nonce-count sent by the
server |
AuthDigestNonceFormat format | | dh | X |
Determines how the nonce is generated |
AuthDigestNonceLifetime seconds | 300 | dh | X |
服务器nonce(当前值)的有效秒数 |
AuthDigestProvider provider-name
[provider-name] ... | file | dh | X |
设置该区域的(摘要)认证支持者(Provider) |
AuthDigestQop none|auth|auth-int [auth|auth-int] | auth | dh | X |
指定摘要认证的保护质量 |
AuthDigestShmemSize size | 1000 | s | X |
为了跟踪客户端而分配的共享内存字节数 |
AuthGroupFile file-path | | dh | B |
设定一个包含用于执行用户认证的用户组列表的纯文本文件 |
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 | | 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 |
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 |
用于HTTP认证的授权域 |
<AuthnProviderAlias baseProvider Alias>
... </AuthnProviderAlias> | | sv | E |
封装一组定义扩展认证支持者的指令,并为其指定一个别名 |
AuthType Basic|Digest | | dh | C |
用户认证类型 |
AuthUserFile file-path | | dh | B |
设定一个含有认证使用的用户名/密码列表的纯文本文件 |
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 |
指定是否将授权操作交由更底层的模块来处理 |
AuthzGroupFileAuthoritative On|Off | On | dh | B |
指定是否将授权操作交由更底层的模块来处理 |
AuthzLDAPAuthoritative on|off | on | dh | E |
Prevent other authentication modules from
authenticating the user if this one fails |
AuthzOwnerAuthoritative On|Off | On | dh | E |
指定是否将授权操作交由更底层的模块来处理 |
AuthzUserAuthoritative On|Off | On | dh | B |
指定是否将授权操作交由更底层的模块来处理 |
BrowserMatch regex [!]env-variable[=value]
[[!]env-variable[=value]] ... | | svdh | B |
基于User-Agent头有条件地设置环境变量 |
BrowserMatchNoCase regex [!]env-variable[=value]
[[!]env-variable[=value]] ... | | svdh | B |
基于不区分大小写的User-Agent头有条件地设置环境变量 |
BufferedLogs On|Off | Off | s | B |
在将日志写入磁盘前先在内存中进行缓冲 |
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. |
CacheLastModifiedFactor float | 0.1 | sv | E |
The factor used to compute an expiry date based on the
LastModified date. |
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 |
允许经过内容协商的文档被代理服务器缓存 |
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 | Off | sv | E |
Attempt to cache responses that the server has marked as private |
CGIMapExtension cgi-path .extension | | dh | C |
定位CGI脚本解释器 |
CharsetDefault charset | | svdh | X |
Charset to translate into |
CharsetOptions option [option] ... | DebugLevel=0 NoImpl + | svdh | X |
Configures charset translation behavior |
CharsetSourceEnc charset | | svdh | X |
Source charset of files |
CheckSpelling on|off | Off | svdh | E |
Enables the spelling
module |
ContentDigest On|Off | Off | svdh | C |
允许生成Content-MD5应答头 |
CookieDomain domain | | svdh | E |
The domain to which the tracking cookie applies |
CookieExpires expiry-period | | svdh | E |
Expiry time for the tracking cookie |
CookieLog filename | | sv | B |
设定针对cookies的日志文件名 |
CookieName token | Apache | svdh | E |
Name of the tracking cookie |
CookieStyle
Netscape|Cookie|Cookie2|RFC2109|RFC2965 | Netscape | svdh | E |
Format of the cookie header field |
CookieTracking on|off | off | svdh | E |
Enables tracking cookie |
CoreDumpDirectory directory | | s | M |
Apache使用的内核转储目录 |
CustomLog file|pipe
format|nickname
[env=[!]environment-variable] | | sv | B |
设定日志的文件名和格式 |
Dav On|Off|provider-name | Off | d | E |
Enable WebDAV HTTP methods |
DavDepthInfinity on|off | off | svd | E |
Allow PROPFIND, Depth: Infinity requests |
DavGenericLockDB file-path | | svd | E |
Location of the DAV lock database |
DavLockDB file-path | | sv | E |
Location of the DAV lock database |
DavMinTimeout seconds | 0 | svd | E |
Minimum amount of time the server holds a lock on
a DAV resource |
DBDExptime time-in-seconds | | sv | E |
Keepalive time for idle connections |
DBDKeep number | | sv | E |
Maximum sustainednumber of connections |
DBDMax number | | sv | E |
Maximum number of connections |
DBDMin number | | sv | E |
Minimum number of connections |
DBDParams
param1=value1[,param2=value2] | | sv | E |
Parameters for database connection |
DBDPersist 0|1 | | sv | E |
Whether to use persistent connections |
DBDPrepareSQL "SQL statement" label | | sv | E |
Define an SQL prepared statement |
DBDriver name | | sv | E |
Specify an SQL driver |
DefaultIcon url-path | | svdh | B |
Icon to display for files when no specific icon is
configured |
DefaultLanguage MIME-lang | | svdh | B |
为所有文件设定特定的默认语言 |
DefaultType MIME-type | text/plain | svdh | C |
在服务器无法由其他方法确定内容类型时,发送的默认MIME内容类型 |
DeflateBufferSize value | 8096 | sv | E |
用于zlib一次压缩的片断大小(字节) |
DeflateCompressionLevel value | | sv | E |
将输出内容压缩的程度 |
DeflateFilterNote [type] notename | | sv | E |
在日志中放置压缩率标记 |
DeflateMemLevel value | 9 | sv | E |
zlib在压缩时最多可以使用多少内存 |
DeflateWindowSize value | 15 | sv | E |
Zlib压缩窗口(compression window)的大小 |
Deny from all|host|env=env-variable
[host|env=env-variable] ... | | dh | B |
控制哪些主机被禁止访问服务器 |
<Directory directory-path>
... </Directory> | | sv | C |
封装一组指令,使之仅对文件空间中的某个目录及其子目录生效 |
DirectoryIndex
local-url [local-url] ... | index.html | svdh | B |
当客户端请求一个目录时寻找的资源列表 |
<DirectoryMatch regex>
... </DirectoryMatch> | | sv | C |
封装一些指令并作用于文件系统中匹配正则表达式的所有目录及其子目录 |
DirectorySlash On|Off | On | svdh | B |
打开或关闭目录结尾斜线(/)自动补全功能 |
DocumentRoot directory-path | /usr/local/apache/h + | sv | C |
组成网络上可见的主文档树的根目录 |
DumpIOInput On|Off | Off | s | E |
将所有输入的内容记录到错误日志中 |
DumpIOOutput On|Off | Off | s | E |
将所有输出的内容记录到错误日志中 |
EnableExceptionHook On|Off | Off | s | M |
在子进程崩溃以后启用一个钩子来运行异常处理程序 |
EnableMMAP On|Off | On | svdh | C |
在递送中使用内存映射(memory-mapping)来读取文件 |
EnableSendfile On|Off | On | svdh | C |
使用操作系统内核的sendfile支持来将文件发送到客户端 |
ErrorDocument error-code document | | svdh | C |
当遇到错误的时候服务器将给客户端什么样的应答 |
ErrorLog file-path|syslog[:facility] | logs/error_log (Uni + | sv | C |
存放错误日志的位置 |
Example | | svdh | X |
Demonstration directive to illustrate the Apache module
API |
ExpiresActive On|Off | | svdh | E |
启用或禁用产生"Expires:"和"Cache-Control:"头的功能 |
ExpiresByType MIME-type
<code>seconds | | svdh | E |
由MIME类型配置的Expires头的值 |
ExpiresDefault <code>seconds | | svdh | E |
默认有效期的计算方法 |
ExtendedStatus On|Off | Off | s | B |
Keep track of extended status information for each
request |
ExtFilterDefine filtername parameters | | s | E |
Define an external filter |
ExtFilterOptions option [option] ... | DebugLevel=0 NoLogS + | d | E |
Configure mod_ext_filter options |
FileETag component ... | INode MTime Size | svdh | C |
用以创建ETag应答头的文件的属性 |
<Files filename> ... </Files> | | svdh | C |
包含作用于匹配指定文件名的指令 |
<FilesMatch regex> ... </FilesMatch> | | svdh | C |
包含作用于与正则表达式匹配的文件名的指令 |
FilterChain [+=-@!]filter-name ... | | svdh | B |
Configure the filter chain |
FilterDeclare filter-name [type] | | svdh | B |
Declare a smart filter |
FilterProtocol filter-name [provider-name]
proto-flags | | svdh | B |
Deal with correct HTTP protocol handling |
FilterProvider filter-name provider-name
[req|resp|env]=dispatch match | | svdh | B |
Register a content filter |
FilterTrace filter-name level | | svd | B |
Get debug/diagnostic information from
mod_filter |
ForceLanguagePriority None|Prefer|Fallback [Prefer|Fallback] | Prefer | svdh | B |
指定无法匹配单个文档的情况下所采取的动作 |
ForceType MIME-type|None | | dh | C |
强制所有匹配的文件被作为指定的MIME类型进行伺服 |
ForensicLog filename|pipe | | sv | E |
Sets filename of the forensic log |
GracefulShutDownTimeout seconds | | s | M |
指定优雅停止服务器的超时秒数 |
Group unix-group | #-1 | s | M |
对请求提供服务的Apache子进程运行时的用户组 |
Header [condition] set|append|add|unset|echo
header [value] [early|env=[!]variable] | | svdh | E |
配置HTTP应答头 |
HeaderName filename | | svdh | B |
Name of the file that will be inserted at the top
of the index listing |
HostnameLookups On|Off|Double | Off | svd | C |
启用对客户端IP的DNS查找 |
IdentityCheck On|Off | Off | svd | E |
启用对远端用户的RFC1413身份鉴定的日志 |
IdentityCheckTimeout seconds | 30 | svd | E |
Determines the timeout duration for ident requests |
<IfDefine [!]parameter-name> ...
</IfDefine> | | svdh | C |
封装一组只有在启动时当测试结果为真时才生效的指令 |
<IfModule [!]module-file|module-identifier> ...
</IfModule> | | svdh | C |
封装指令并根据指定的模块是否启用为条件而决定是否进行处理 |
<IfVersion [[!]operator] version> ...
</IfVersion> | | svdh | E |
contains version dependent configuration |
ImapBase map|referer|URL | http://servername/ | svdh | B |
Default base for imagemap files |
ImapDefault error|nocontent|map|referer|URL | nocontent | svdh | B |
Default action when an imagemap is called with coordinates
that are not explicitly mapped |
ImapMenu none|formatted|semiformatted|unformatted | | svdh | B |
Action if no coordinates are given when calling
an imagemap |
Include file-path|directory-path | | svd | C |
在服务器配置文件中包含其它配置文件 |
IndexIgnore file [file] ... | | svdh | B |
Adds to the list of files to hide when listing
a directory |
IndexOptions [+|-]option [[+|-]option] ... | | svdh | B |
Various configuration settings for directory
indexing |
IndexOrderDefault Ascending|Descending
Name|Date|Size|Description | Ascending Name | svdh | B |
Sets the default ordering of the directory index |
IndexStyleSheet url-path | | svdh | B |
Adds a CSS stylesheet to the directory index |
ISAPIAppendLogToErrors on|off | off | svdh | B |
把ISAPI扩展的HSE_APPEND_LOG_PARAMETER请求记录在错误日志中 |
ISAPIAppendLogToQuery on|off | on | svdh | B |
把ISAPI扩展的HSE_APPEND_LOG_PARAMETER请求记录在查询域中 |
ISAPICacheFile file-path [file-path] ... | | sv | B |
启动时载入的ISAPI动态连接库 |
ISAPIFakeAsync on|off | off | svdh | B |
为ISAPI回调模拟异步支持 |
ISAPILogNotSupported on|off | off | svdh | B |
记录ISAPI不支持的功能调用 |
ISAPIReadAheadBuffer size | 49152 | svdh | B |
传送到ISAPI扩展的预读缓冲区大小 |
KeepAlive On|Off | On | sv | C |
启用HTTP持久链接 |
KeepAliveTimeout seconds | 5 | sv | C |
持久链接中服务器在两次请求之间等待的秒数 |
LanguagePriority MIME-lang [MIME-lang] ... | | svdh | B |
在客户端没有指示语言偏好的情况下,语言变体的优先级列表 |
LDAPCacheEntries number | 1024 | s | E |
主LDAP缓冲的最大条目数 |
LDAPCacheTTL seconds | 600 | s | E |
search/bind缓冲项目有效时限 |
LDAPConnectionTimeout seconds | | s | E |
指定套接字连接超时秒数 |
LDAPOpCacheEntries number | 1024 | s | E |
LDAP compare缓冲区的大小 |
LDAPOpCacheTTL seconds | 600 | s | E |
操作缓冲有效时限 |
LDAPSharedCacheFile directory-path/filename | | s | E |
设置共享内存缓冲区文件 |
LDAPSharedCacheSize bytes | 102400 | s | E |
共享内存缓冲区的字节大小 |
LDAPTrustedClientCert type directory-path/filename/nickname [password] | | svdh | E |
Sets the file containing or nickname referring to a per
connection client certificate. Not all LDAP toolkits support per
connection client certificates. |
LDAPTrustedGlobalCert type directory-path/filename [password] | | s | E |
Sets the file or database containing global trusted
Certificate Authority or global client certificates |
LDAPTrustedMode type | | svdh | E |
Specifies the SSL/TLS mode to be used when connecting to an LDAP server. |
LDAPVerifyServerCert On|Off | On | s | E |
Force server certificate verification |
<Limit method [method] ... > ...
</Limit> | | svdh | C |
仅对指定的HTTP方法进行访问控制 |
<LimitExcept method [method] ... > ...
</LimitExcept> | | svdh | C |
对除了指定方法以外的所有HTTP方法进行访问控制 |
LimitInternalRecursion number [number] | 10 | sv | C |
指定内部重定向和嵌套子请求的最大数量 |
LimitRequestBody bytes | 0 | svdh | C |
限制客户端发送的HTTP请求体的最大字节长度 |
LimitRequestFields number | 100 | s | C |
限制接受客户端请求中HTTP请求头域的数量 |
LimitRequestFieldsize bytes | | s | C |
限制客户端发送的请求头的字节数 |
LimitRequestLine bytes | 8190 | s | C |
限制接受客户端发送的HTTP请求行的字节数 |
LimitXMLRequestBody bytes | 1000000 | svdh | C |
限制基于XML的请求体的大小 |
Listen [IP-address:]portnumber [protocol] | | s | M |
服务器监听的IP地址和端口 |
ListenBacklog backlog | | s | M |
半链接(pending connection)队列的最大长度 |
LoadFile filename [filename] ... | | s | E |
加载已命名的目标文件或库 |
LoadModule module filename | | s | E |
加载目标文件或库,并将其添加到活动模块列表 |
<Location
URL-path|URL> ... </Location> | | sv | C |
将封装的指令作用于匹配的URL |
<LocationMatch
regex> ... </LocationMatch> | | sv | C |
将封装的指令作用于正则表达式匹配的URL |
LockFile filename | logs/accept.lock | s | M |
接受串行锁文件的位置 |
LogFormat format|nickname
[nickname] | "%h %l %u %t \"%r\" + | sv | B |
定义访问日志的记录格式 |
LogLevel level | warn | sv | C |
控制错误日志的详细程度 |
MaxClients number | | s | M |
允许同时伺服的最大接入请求数量 |
MaxKeepAliveRequests number | 100 | sv | C |
一个持久链接中允许的最大请求数量 |
MaxMemFree KBytes | 0 | s | M |
主内存分配程序在未调用free()的情况下允许持有的最大自由内存数量(KB) |
MaxRequestsPerChild number | 10000 | s | M |
每个子进程在其生存期内允许伺服的最大请求数量 |
MaxRequestsPerThread number | 0 | s | M |
Limit on the number of requests that an individual thread
will handle during its life |
MaxSpareServers number | 10 | s | M |
空闲子进程的最大数量 |
MaxSpareThreads number | | s | M |
最大空闲线程数 |
MaxThreads number | 2048 | s | M |
Set the maximum number of worker threads |
MCacheMaxObjectCount value | 1009 | s | E |
最大缓存对象数 |
MCacheMaxObjectSize bytes | 10000 | s | E |
缓存允许的最大文档大小(字节) |
MCacheMaxStreamingBuffer size_in_bytes | the smaller of 1000 + | s | E |
内存中允许缓冲的最大流式响应字节长度 |
MCacheMinObjectSize bytes | 0 | s | E |
允许缓存的最小文档大小(字节) |
MCacheRemovalAlgorithm LRU|GDSF | GDSF | s | E |
定义在需要时哪个文档被移出缓存的算法 |
MCacheSize KBytes | 100 | s | E |
缓存允许使用的最大内存量,以KB为单位 |
MetaDir directory | .web | svdh | E |
Name of the directory to find CERN-style meta information
files |
MetaFiles on|off | off | svdh | E |
Activates CERN meta-file processing |
MetaSuffix suffix | .meta | svdh | E |
File name suffix for the file containg CERN-style
meta information |
MimeMagicFile file-path | | sv | E |
使用特定的Magic文件激活根据文件内容确定文件MIME类型的功能 |
MinSpareServers number | 5 | s | M |
空闲子进程的最小数量 |
MinSpareThreads number | | s | M |
最小空闲线程数 |
MMapFile file-path [file-path] ... | | s | X |
Map a list of files into memory at startup time |
ModMimeUsePathInfo On|Off | Off | d | B |
将path_info当成是文件名的一个组成部分 |
MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers
[Handlers|Filters] | NegotiatedOnly | svdh | B |
在使用MultiViews查询所匹配的文件时要包含的文件类型 |
NameVirtualHost addr[:port] | | s | C |
为一个基于域名的虚拟主机指定一个IP地址(和端口) |
NoProxy host [host] ... | | sv | E |
直接进行连接的主机/域/网络 |
NWSSLTrustedCerts filename [filename] ... | | s | B |
附加的客户端证书列表 |
NWSSLUpgradeable [IP-address:]portnumber | | s | B |
允许在请求中将一个连接升级为SSL连接 |
Options
[+|-]option [[+|-]option] ... | All | svdh | C |
配置在特定目录中可以使用哪些特性 |
Order ordering | Deny,Allow | dh | B |
控制默认的访问状态与Allow和Deny指令生效的顺序 |
PassEnv env-variable [env-variable] ... | | svdh | B |
传送shell中的环境变量 |
PidFile filename | logs/httpd.pid | s | M |
服务器用于记录父进程(监控进程)PID的文件 |
ProtocolEcho On|Off | | sv | X |
Turn the echo server on or off |
<Proxy wildcard-url> ...</Proxy> | | sv | E |
应用于所代理资源的容器 |
ProxyBadHeader IsError|Ignore|StartBody | IsError | sv | E |
确定如何处理不合法的应答头 |
ProxyBlock *|word|host|domain
[word|host|domain] ... | | sv | E |
设置被代理屏蔽的语句、主机、域 |
ProxyDomain Domain | | sv | E |
代理请求的默认域名 |
ProxyErrorOverride On|Off | Off | sv | E |
覆盖代理内容的错误页 |
ProxyIOBufferSize bytes | 8192 | sv | E |
内部缓冲区大小 |
<ProxyMatch regex> ...</ProxyMatch> | | sv | E |
应用于匹配正则表达式的代理资源的容器 |
ProxyMaxForwards number | 10 | sv | E |
转发请求的最大代理数目 |
ProxyPass [path] !|url [key=value key=value ...]] | | svd | E |
将一个远端服务器映射到本地服务器的URL空间中 |
ProxyPassReverse [path] url | | svd | E |
调整由反向代理服务器发送的HTTP应答头中的URL |
ProxyPassReverseCookieDomain internal-domain public-domain | | svd | E |
Adjusts the Domain string in Set-Cookie headers from a reverse-
proxied server |
ProxyPassReverseCookiePath internal-path public-path | | svd | E |
Adjusts the Path string in Set-Cookie headers from a reverse-
proxied server |
ProxyPreserveHost On|Off | Off | sv | E |
使用进入的HTTP请求头来发送代理请求 |
ProxyReceiveBufferSize bytes | 0 | sv | E |
代理HTTP和FTP连接的接收缓冲区大小(字节) |
ProxyRemote match remote-server | | sv | E |
用于处理某些特定请求的远端代理 |
ProxyRemoteMatch regex remote-server | | sv | E |
处理匹配正则表达式的请求的远端代理 |
ProxyRequests On|Off | Off | sv | E |
启用正向(标准)代理请求 |
ProxyTimeout seconds | 300 | sv | E |
代理请求的网络超时 |
ProxyVia On|Off|Full|Block | Off | sv | E |
控制代理对Via应答头的使用 |
ReadmeName filename | | svdh | B |
Name of the file that will be inserted at the end
of the index listing |
ReceiveBufferSize bytes | 0 | s | M |
TCP接收缓冲区大小(字节) |
Redirect [status] URL-path
URL | | svdh | B |
发送一个外部重定向使客户端重定向到一个不同的URL |
RedirectMatch [status] regex
URL | | svdh | B |
基于正则表达式匹配对当前的URL发送一个外部重定向 |
RedirectPermanent URL-path URL | | svdh | B |
发送一个外部永久重定向使客户端重定向到一个不同的URL |
RedirectTemp URL-path URL | | svdh | B |
发送一个外部临时重定向使客户端重定向到一个不同的URL |
RemoveCharset extension [extension] ... | | vdh | B |
删除任何给定的扩展名与内容字符集之间的关联 |
RemoveEncoding extension [extension] ... | | vdh | B |
删除任何给定的扩展名与内容编码方式之间的关联 |
RemoveHandler extension [extension] ... | | vdh | B |
删除任何指定扩展名与处理器之间的关联 |
RemoveInputFilter extension [extension] ... | | vdh | B |
删除指定扩展名与输入过滤器之间的关联 |
RemoveLanguage extension [extension] ... | | vdh | B |
删除指定的扩展名与内容语言之间的关联 |
RemoveOutputFilter extension [extension] ... | | vdh | B |
删除指定扩展名与输出过滤器之间的关联 |
RemoveType extension [extension] ... | | vdh | B |
删除指定扩展名与内容类型之间的关联 |
RequestHeader set|append|add|unset header
[value] [early|env=[!]variable] | | svdh | E |
配置HTTP请求头 |
Require entity-name [entity-name] ... | | dh | C |
指定哪些认证用户允许访问该资源 |
RewriteBase URL-path | | dh | E |
Sets the base URL for per-directory rewrites |
RewriteCond
TestString CondPattern | | svdh | E |
Defines a condition under which rewriting will take place
|
RewriteEngine on|off | off | svdh | E |
Enables or disables runtime rewriting engine |
RewriteLock file-path | | s | E |
Sets the name of the lock file used for RewriteMap
synchronization |
RewriteLog file-path | | sv | E |
Sets the name of the file used for logging rewrite engine
processing |
RewriteLogLevel Level | 0 | sv | E |
Sets the verbosity of the log file used by the rewrite
engine |
RewriteMap MapName MapType:MapSource
| | sv | E |
Defines a mapping function for key-lookup |
RewriteOptions Options | | svdh | E |
Sets some special options for the rewrite engine |
RewriteRule
Pattern Substitution | | svdh | E |
Defines rules for the rewriting engine |
RLimitCPU seconds|max [seconds|max] | | svdh | C |
限制Apache子进程派生的进程占用CPU的最大秒数 |
RLimitMEM bytes|max [bytes|max] | | svdh | C |
限制由Apache子进程派生的进程占用的最大内存字节数 |
RLimitNPROC number|max [number|max] | | svdh | C |
限制由Apache子进程派生的进程所派生的进程数目 |
Satisfy Any|All | All | dh | C |
主机级别的访问控制和用户认证之间的相互关系 |
ScoreBoardFile file-path | logs/apache_status | s | M |
存储子进程协调数据(coordination data)的文件 |
Script method cgi-script | | svd | B |
对特定的请求方法激活一个CGI脚本 |
ScriptAlias URL-path
file-path|directory-path | | sv | B |
映射一个URL到文件系统并视之为CGI脚本 |
ScriptAliasMatch regex
file-path|directory-path | | sv | B |
使用正则表达式映射一个URL到文件系统并视之为CGI脚本 |
ScriptInterpreterSource Registry|Registry-Strict|Script | Script | svdh | C |
定位CGI脚本解释器 |
ScriptLog file-path | | sv | B |
CGI脚本错误日志文件的位置 |
ScriptLogBuffer bytes | 1024 | sv | B |
记入日志文件的PUT或POST请求头的最大数量 |
ScriptLogLength bytes | 10385760 | sv | B |
日志文件的大小限制(字节) |
ScriptSock file-path | logs/cgisock | sv | B |
用来与CGI守护进程通信的套接字文件名前缀 |
SecureListen [IP-address:]portnumber
Certificate-Name [MUTUAL] | | s | B |
在指定端口启用SSL加密 |
SendBufferSize bytes | 0 | s | M |
TCP发送缓冲区大小(字节) |
ServerAdmin email-address|URL | | sv | C |
服务器返回给客户端的错误信息中包含的管理员邮件地址 |
ServerAlias hostname [hostname] ... | | v | C |
匹配一个基于域名的虚拟主机的别名 |
ServerLimit number | | s | M |
服务器允许配置的进程数上限 |
ServerName fully-qualified-domain-name[:port] | | sv | C |
服务器用于辨识自己的主机名和端口号 |
ServerPath URL-path | | v | C |
为兼容性不好的浏览器访问基于域名的虚拟主机保留的URL路径名 |
ServerRoot directory-path | /usr/local/apache | s | C |
安装服务器的基础目录 |
ServerSignature On|Off|EMail | Off | svdh | C |
配置服务器生成页面的页脚 |
ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full | Full | s | C |
配置"Server:"应答头 |
SetEnv env-variable value | | svdh | B |
设置环境变量 |
SetEnvIf attribute
regex [!]env-variable[=value]
[[!]env-variable[=value]] ... | | svdh | B |
根据客户端请求属性设置环境变量 |
SetEnvIfNoCase attribute regex
[!]env-variable[=value]
[[!]env-variable[=value]] ... | | svdh | B |
根据大小写无关的客户端请求属性设置环境变量 |
SetHandler handler-name|None | | svdh | C |
强制所有匹配的文件被一个指定的处理器处理 |
SetInputFilter filter[;filter...] | | svdh | C |
设置处理客户端请求和POST输入时使用的过滤器 |
SetOutputFilter filter[;filter...] | | svdh | C |
设置用于处理服务器输出应答的过滤器 |
SSIEndTag tag | "-->" | sv | B |
String that ends an include element |
SSIErrorMsg message | "[an error occurred + | svdh | B |
Error message displayed when there is an SSI
error |
SSIStartTag tag | "<!--#" | sv | B |
String that starts an include element |
SSITimeFormat formatstring | "%A, %d-%b-%Y %H:%M + | svdh | B |
Configures the format in which date strings are
displayed |
SSIUndefinedEcho string | "(none)" | svdh | B |
String displayed when an unset variable is echoed |
SSLCACertificateFile file-path | | sv | E |
File of concatenated PEM-encoded CA Certificates
for Client Auth |
SSLCACertificatePath directory-path | | sv | E |
Directory of PEM-encoded CA Certificates for
Client Auth |
SSLCADNRequestFile file-path | | sv | E |
File of concatenated PEM-encoded CA Certificates
for defining acceptable CA names |
SSLCADNRequestPath directory-path | | sv | E |
Directory of PEM-encoded CA Certificates for
defining acceptable CA names |
SSLCARevocationFile file-path | | sv | E |
File of concatenated PEM-encoded CA CRLs for
Client Auth |
SSLCARevocationPath directory-path | | sv | E |
Directory of PEM-encoded CA CRLs for
Client Auth |
SSLCertificateChainFile file-path | | sv | E |
File of PEM-encoded Server CA Certificates |
SSLCertificateFile file-path | | sv | E |
Server PEM-encoded X.509 Certificate file |
SSLCertificateKeyFile file-path | | sv | E |
Server PEM-encoded Private Key file |
SSLCipherSuite cipher-spec | ALL:!ADH:RC4+RSA:+H + | svdh | E |
Cipher Suite available for negotiation in SSL
handshake |
SSLCryptoDevice engine | builtin | s | E |
Enable use of a cryptographic hardware accelerator |
SSLEngine on|off|optional | off | sv | E |
SSL Engine Operation Switch |
SSLHonorCiperOrder flag | | sv | E |
Option to prefer the server's cipher preference order |
SSLMutex type | none | s | E |
Semaphore for internal mutual exclusion of
operations |
SSLOptions [+|-]option ... | | svdh | E |
Configure various SSL engine run-time options |
SSLPassPhraseDialog type | builtin | s | E |
Type of pass phrase dialog for encrypted private
keys |
SSLProtocol [+|-]protocol ... | all | sv | E |
Configure usable SSL protocol flavors |
SSLProxyCACertificateFile file-path | | sv | E |
File of concatenated PEM-encoded CA Certificates
for Remote Server Auth |
SSLProxyCACertificatePath directory-path | | sv | E |
Directory of PEM-encoded CA Certificates for
Remote Server Auth |
SSLProxyCARevocationFile file-path | | sv | E |
File of concatenated PEM-encoded CA CRLs for
Remote Server Auth |
SSLProxyCARevocationPath directory-path | | sv | E |
Directory of PEM-encoded CA CRLs for
Remote Server Auth |
SSLProxyCipherSuite cipher-spec | ALL:!ADH:RC4+RSA:+H + | svdh | E |
Cipher Suite available for negotiation in SSL
proxy handshake |
SSLProxyEngine on|off | off | sv | E |
SSL Proxy Engine Operation Switch |
SSLProxyMachineCertificateFile filename | | s | E |
File of concatenated PEM-encoded client certificates and keys to be used by the proxy |
SSLProxyMachineCertificatePath directory | | s | E |
Directory of PEM-encoded client certificates and keys to be used by the proxy |
SSLProxyProtocol [+|-]protocol ... | all | sv | E |
Configure usable SSL protocol flavors for proxy usage |
SSLProxyVerify level | none | svdh | E |
Type of remote server Certificate verification |
SSLProxyVerifyDepth number | 1 | svdh | E |
Maximum depth of CA Certificates in Remote Server
Certificate verification |
SSLRandomSeed context source
[bytes] | | s | E |
Pseudo Random Number Generator (PRNG) seeding
source |
SSLRequire expression | | dh | E |
Allow access only when an arbitrarily complex
boolean expression is true |
SSLRequireSSL | | dh | E |
Deny access when SSL is not used for the
HTTP request |
SSLSessionCache type | none | s | E |
Type of the global/inter-process SSL Session
Cache |
SSLSessionCacheTimeout seconds | 300 | sv | E |
Number of seconds before an SSL session expires
in the Session Cache |
SSLUserName varname | | sdh | E |
Variable name to determine user name |
SSLVerifyClient level | none | svdh | E |
Type of Client Certificate verification |
SSLVerifyDepth number | 1 | svdh | E |
Maximum depth of CA Certificates in Client
Certificate verification |
StartServers number | | s | M |
服务器启动时建立的子进程数 |
StartThreads number | | s | M |
服务器启动时建立的线程数 |
SuexecUserGroup User Group | | sv | E |
运行CGI程序的用户和组 |
ThreadLimit number | | s | M |
每个子进程可配置的线程数上限 |
ThreadsPerChild number | | s | M |
每个子进程建立的线程数 |
ThreadStackSize size | | s | M |
处理客户端连接的线程使用的栈尺寸(字节) |
TimeOut seconds | 300 | s | C |
服务器在断定请求失败前等待的秒数 |
TraceEnable [on|off|extended] | on | s | C |
确定如何处理TRACE请求 |
TransferLog file|pipe | | sv | B |
指定日志文件的位置 |
TypesConfig file-path | conf/mime.types | s | B |
指定mime.types文件的位置 |
UnsetEnv env-variable [env-variable] ... | | svdh | B |
删除一个环境变量 |
UseCanonicalName On|Off|DNS | Off | svd | C |
配置服务器如何确定它自己的域名和端口 |
UseCanonicalPhysicalPort On|Off | Off | svd | C |
配置服务器如何确定自己的名字和端口 |
User unix-userid | #-1 | s | M |
实际服务于请求的子进程运行时的用户 |
UserDir directory-filename | | sv | B |
用户网站目录的位置 |
VirtualDocumentRoot interpolated-directory|none | none | sv | E |
对于给定的基于名称的虚拟主机动态配置根文档目录 |
VirtualDocumentRootIP interpolated-directory|none | none | sv | E |
对于给定的基于IP的虚拟主机动态配置根文档目录 |
<VirtualHost
addr[:port] [addr[:port]]
...> ... </VirtualHost> | | s | C |
包含仅作用于指定主机名或IP地址的指令 |
VirtualScriptAlias interpolated-directory|none | none | sv | E |
对于给定的基于名称的虚拟主机动态配置CGI目录 |
VirtualScriptAliasIP interpolated-directory|none | none | sv | E |
对于给定的基于IP的虚拟主机动态配置CGI目录 |
Win32DisableAcceptEx | | s | M |
使用accept()代替AcceptEx()接受网络链接 |
XBitHack on|off|full | off | svdh | B |
Parse SSI directives in files with the execute bit
set |