Apache HTTP服务器 2.0版本
指令速查列出了每个Apache配置指令的用法、缺省值、状态和位置。
更详细的说明可以查阅 指令字典.
第一列是指令的名称和用法;
第二列是指令的缺省值(如果存在),如果很长写不下,则后面跟有"+"表示截断.
第三和第四列是指令允许出现的位置和状态,其中缩略语有如下表;
A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | X |
|
|
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 | |
接受附加路径名信息 | |||
AccessFileName 文件名 [文件名] ... | .htaccess | sv | |
发布配置文件名 | |||
Action action-type cgi-script | 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|字符集 | Off | svdh | |
在没有进行指定字符集的情况下向回应中加入的默认字符集 | |||
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 过滤器[;过滤器...] MIME类型 [MIME类型] ... | svdh | ||
对特定的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 端口号 [端口号] ... | 443 563 | sv | E |
通过代理允许CONNECT 的端口号 | |||
AllowOverride All|None|指令类型 [指令类型] ... | All | d | |
允许存在于.htaccess文件中的指令类型 | |||
Anonymous user [user] ... | dh | E | |
Specifies userIDs that areallowed access without password verification | |||
Anonymous_Authoritative On|Off | Off | dh | E |
Configures if authorization will fall-through to other methods | |||
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 | |||
AssignUserID user-id group-id | v | M | |
Tie a virtual host to a user and group ID | |||
AuthAuthoritative On|Off | On | dh | B |
指定是否将认证和授权操作交由更底层的模块来处理 | |||
AuthDBMAuthoritative On|Off | On | dh | E |
Sets whether authentication and authorization will be passwed on to lower level modules | |||
AuthDBMGroupFile file-path | dh | E | |
Sets the name of the database file containing the list of user groups for authentication | |||
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 thename of a database file containing the list of users and passwords for authentication | |||
AuthDigestAlgorithm MD5|MD5-sess | MD5 | dh | X |
Selects the algorithm used to calculate the challenge and response hases in digest authentication | |||
AuthDigestDomain URI [URI] ... | dh | X | |
URIs that are in the same protection space for digest authentication | |||
AuthDigestFile file-path | dh | X | |
Location of the text file containing the list of users and encoded passwords for digest authentication | |||
AuthDigestGroupFile file-path | dh | X | |
Name of the text file containing the list of groups for digest authentication | |||
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 |
How long the server nonce is valid | |||
AuthDigestQop none|auth|auth-int [auth|auth-int] | auth | dh | X |
Determines the quality-of-protection to use in digest authentication | |||
AuthDigestShmemSize size | 1000 | s | X |
The amount of shared memory to allocate for keeping track of clients | |||
AuthGroupFile 文件路径 | dh | B | |
指令设定一个文本文件的名称,这个文本文件包含用来执行用户认证的用户组列表 | |||
AuthLDAPAuthoritative on|off | on | dh | X |
Prevent other authentication modules from authenticating the user if this one fails | |||
AuthLDAPBindDN distinguished-name | dh | X | |
Optional DN to use in binding to the LDAP server | |||
AuthLDAPBindPassword password | dh | X | |
Password used in conjuction with the bind DN | |||
AuthLDAPCharsetConfig file-path | s | X | |
Language to charset conversion configuration file | |||
AuthLDAPCompareDNOnServer on|off | on | dh | X |
Use the LDAP server to compare the DNs | |||
AuthLDAPDereferenceAliases never|searching|finding|always | Always | dh | X |
When will the module de-reference aliases | |||
AuthLDAPEnabled on|off | on | dh | X |
Turn on or off LDAP authentication | |||
AuthLDAPFrontPageHack on|off | off | dh | X |
Allow LDAP authentication to work with MS FrontPage | |||
AuthLDAPGroupAttribute attribute | dh | X | |
LDAP attributes used to check for group membership | |||
AuthLDAPGroupAttributeIsDN on|off | on | dh | X |
Use the DN of the client username when checking for group membership | |||
AuthLDAPRemoteUserIsDN on|off | off | dh | X |
Use the DN of the client username to set the REMOTE_USER environment variable | |||
AuthLDAPUrl url | dh | X | |
URL specifying the LDAP search parameters | |||
AuthName auth-domain | dh | ||
用于HTTP认证的的验证域 | |||
AuthType Basic|Digest | dh | ||
用户验证的类型 | |||
AuthUserFile 文件路径 | dh | B | |
设定一个文本文件名称,这个文件含有认证用的用户名、密码列表。 | |||
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 | |||
BS2000Account account | s | M | |
Define the non-privileged account on BS2000 machines | |||
CacheDefaultExpire seconds | 3600 (one hour) | sv | X |
The default duration to cache a document when no expiry date is specified. | |||
CacheDirLength length | 2 | sv | X |
The number of characters in subdirectory names | |||
CacheDirLevels levels | 3 | sv | X |
The number of levels of subdirectories in the cache. | |||
CacheDisable url-string | sv | X | |
Disable caching of specified URLs | |||
CacheEnable cache_type url-string | sv | X | |
Enable caching of specified URLs using a specified storage manager | |||
CacheExpiryCheck On|Off | On | sv | X |
Indicates if the cache observes Expires dates when seeking files | |||
CacheFile file-path [file-path] ... | s | X | |
Cache a list of file handles at startup time | |||
CacheForceCompletion Percentage | 60 | sv | X |
Percentage of document served, after which the server will complete caching the file even if the request is cancelled. | |||
CacheGcClean hours url-string | ? | sv | X |
The time to retain unchanged cached files that match a URL | |||
CacheGcDaily time | ? | sv | X |
The recurring time each day for garbage collection to be run. (24 hour clock) | |||
CacheGcInterval hours | sv | X | |
The interval between garbage collection attempts. | |||
CacheGcMemUsage KBytes | ? | sv | X |
The maximum kilobytes of memory used for garbage collection | |||
CacheGcUnused hours url-string | ? | sv | X |
The time to retain unreferenced cached files that match a URL. | |||
CacheIgnoreCacheControl On|Off | Off | sv | X |
Ignore the fact that the client requested the content not be cached. | |||
CacheIgnoreNoLastMod On|Off | Off | sv | X |
Ignore the fact that a response has no Last Modified header. | |||
CacheLastModifiedFactor float | 0.1 | sv | X |
The factor used to compute an expiry date based on the LastModified date. | |||
CacheMaxExpire seconds | 86400 (one day) | sv | X |
The maximum time in seconds to cache a document | |||
CacheMaxFileSize bytes | 1000000 | sv | X |
The maximum size (in bytes) of a document to be placed in the cache | |||
CacheMinFileSize bytes | 1 | sv | X |
The minimum size (in bytes) of a document to be placed in the cache | |||
CacheNegotiatedDocs On|Off | Off | sv | B |
允许内容协商文档被代理服务器缓冲 | |||
CacheRoot directory | sv | X | |
The directory root under which cache files are stored | |||
CacheSize KBytes | 1000000 | sv | X |
The maximum amount of disk space that will be used by the cache in KBytes | |||
CacheTimeMargin ? | ? | sv | X |
The minimum time margin to cache a document | |||
CGIMapExtension cgi-path .extension | dh | ||
定位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 | |||
ChildPerUserID user-id group-id num-children | s | M | |
Specify user ID and group ID for a number of child processes | |||
ContentDigest on|off | off | svdh | |
启用HTTP回应头的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 | |
Directory where Apache attempts to switch before dumping core | |||
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 | |||
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 | |||
DefaultIcon url-path | svdh | B | |
Icon to display for files when no specific icon is configured | |||
DefaultLanguage MIME-lang | svdh | B | |
为所有指令作用域范围内的文件设定某一特定的缺省语言 | |||
DefaultType MIME类型 | text/plain | svdh | |
在服务器无法由其他方法确定类型时,发送的默认MIME内容类型。 | |||
DeflateBufferSize value | 8096 | sv | E |
Fragment size to be compressed at one time by zlib | |||
DeflateCompressionLevelvalue | sv | E | |
How much compression do we apply to the output | |||
DeflateFilterNote [type] notename | sv | E | |
Places the compression ratio in a note for logging | |||
DeflateMemLevel value | 9 | sv | E |
How much memory should be used by zlib for compression | |||
DeflateWindowSize value | 15 | sv | E |
Zlib compression window size | |||
Deny from all|host|env=env-variable [host|env=env-variable] ... | dh | B | |
控制哪些主机被禁止访问服务器 | |||
<Directory 目录路径> ... </Directory> | sv | ||
封装一组指令,使之仅对具有某个名字的文件系统目录及其子目录起作用。 | |||
DirectoryIndex local-url [local-url] ... | index.html | svdh | B |
List of resources to look for when the client requests a directory | |||
<DirectoryMatch regex> ... </Directory> | sv | ||
封装一些指令并施用于文件系统中符合一个正则表达式的目录及其子目录 | |||
DocumentRoot 目录路径 | /usr/local/apache/h + | sv | |
组成网络上可以观看的主文档树的目录 | |||
EnableMMAP on|off | on | svdh | |
在分发中使用内存映射(memory-mapping)来读取文件 | |||
ErrorDocument 错误代码文档 | svdh | ||
定义了当遇到错误的时候服务器将给客户端什么样的回应 | |||
ErrorLog 文件路径|syslog[:facility] | logs/error_log (Uni + | sv | |
定位服务器存放错误日志的位置 | |||
Example | svdh | X | |
Demonstration directive to illustrate the Apache module API | |||
ExpiresActive On|Off | svdh | E | |
Enables generation of Expires
headers | |||
ExpiresByType MIME-type <code>seconds | svdh | E | |
Value of the Expires header configured
by MIME type | |||
ExpiresDefault <code>seconds | svdh | E | |
Default algorithm for calculating expiration time | |||
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 组件名 ... | INode MTime Size | svdh | |
用以创建ETag HTTP回应头的文件的属性 | |||
<Files 文件名> ... </Files> | svdh | ||
包含将施用于匹配指定文件名的指令 | |||
<FilesMatch 正则表达式> ... </FilesMatch> | svdh | ||
包含施用与匹配正则表达式的文件名的指令 | |||
ForceLanguagePriority None|Prefer|Fallback [Prefer|Fallback] | Prefer | svdh | B |
指定无法匹配单个文档的情况下所采取的动作 | |||
ForceType mime类型 | dh | ||
强制所有符合的文件被作为指定的MIME内容类型进行伺服 | |||
Group unix-group | #-1 | s | M |
Group under which the server will answer requests | |||
Header set|append|add|unset|echo header [value [env=[!]variable]] | svdh | E | |
Configure HTTP response headers | |||
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 | |
启用对客户端IP的DNS查找 | |||
IdentityCheck on|off | off | svd | |
启用对远端用户的RFC1413鉴证的日志 | |||
<IfDefine [!]参数名> ... </IfDefine> | svdh | ||
只有在启动时进行了一个成功的测试后才进行的一个封装指令 | |||
<IfModule [!]模块名> ... </IfModule> | svdh | ||
封装指令并根据指定的模块是否存在为条件而决定是否进行处理 | |||
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 文件路径|目录路径 | svd | ||
于服务器配置文件中包含其它配置文件 | |||
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 | |||
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 | |
启用HTTP持续作用 | |||
KeepAliveTimeout 秒数 | 15 | sv | |
持续作用中服务器在两次请求之间等待的时间数 | |||
LanguagePriority MIME-lang [MIME-lang] ... | svdh | B | |
在客户没有指示对语言的偏好情况下,语言变体的优先级列表 | |||
LDAPCacheEntries number | 1024 | s | X |
主LDAP缓冲的最大条目数 | |||
LDAPCacheTTL seconds | 600 | s | X |
search/bind缓冲项目有效时限 | |||
LDAPOpCacheEntries number | 1024 | s | X |
LDAP compare缓冲区的大小 | |||
LDAPOpCacheTTL seconds | 600 | s | X |
操作缓冲有效时限 | |||
LDAPSharedCacheSize bytes | 102400 | s | X |
以Byte为单位的共享内存缓冲区的大小 | |||
LDAPTrustedCA directory-path/filename | s | X | |
指定包含权威授信机构的证书或数据库 | |||
LDAPTrustedCAType type | s | X | |
指定权威证书文件的类型 | |||
<Limit 方法 [方法] ... > ... </Limit> | svdh | ||
限定访问控制仅施用于某些特定的HTTP方法 | |||
<LimitExcept 方法 [方法] ... > ... </LimitExcept> | svdh | ||
对除了指定以外的所有HTTP方法限定访问控制。 | |||
LimitRequestBody 字节数 | 0 | svdh | |
限制客户端发送的HTTP请求体的总长度 | |||
LimitRequestFields 数量 | 100 | s | |
限制接受客户端请求中HTTP请求头域的数量 | |||
LimitRequestFieldsize 字节数 | s | ||
限制客户端发送的请求头的大小 | |||
LimitRequestLine 字节数 | 8190 | s | |
限制接受客户端发送的HTTP请求的行数大小 | |||
LimitXMLRequestBody 数值 | 1000000 | svdh | |
限制基于XML的请求体的大小 | |||
Listen [IP-address:]portnumber | s | M | |
IP addresses and ports that the server listens to | |||
ListenBacklog backlog | s | M | |
Maximum length of the queue of pending connections | |||
LoadFile filename [filename] ... | s | E | |
Link in the named object file or library | |||
LoadModule module filename | s | E | |
Links in the object file or library, and adds to the list of active modules | |||
<Location URL-path|URL> ... </Location> | sv | ||
将封装的指令施用于匹配的URL | |||
<LocationMatch 正则表达式> ... </Location> | sv | ||
将封装的指令施用于匹配正则表达式的URL | |||
LockFile filename | logs/accept.lock | s | M |
Location of the accept serialization lock file | |||
LogFormat format|nickname [nickname] | "%h %l %u %t \"%r\" + | sv | B |
定义日志文件里的记录格式 | |||
LogLevel 级别 | warn | sv | |
控制错误日志的详细程度 | |||
MaxClients number | s | M | |
Maximum number of child processes that will be created to serve requests | |||
MaxKeepAliveRequests 数量 | 100 | sv | |
一个长连接中允许的请求数量 | |||
MaxMemFree KBytes | 0 | s | M |
Maximum amount of memory that the main allocator is allowed
to hold without calling free() | |||
MaxRequestsPerChild number | 10000 | s | M |
Limit on the number of requests that an individual child server will handle during its life | |||
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 |
Maximum number of idle child server processes | |||
MaxSpareThreads number | s | M | |
Maximum number of idle threads | |||
MaxThreads number | 2048 | s | M |
Set the maximum number of worker threads | |||
MaxThreadsPerChild number | 64 | s | M |
Maximum number of threads per child process | |||
MCacheMaxObjectCount value | 1009 | s | X |
最大缓存对象数 | |||
MCacheMaxObjectSize bytes | 10000 | s | X |
缓存允许的最大文档大小(以Byte为单位) | |||
MCacheMaxStreamingBuffer 字节长度 | 100000 或 MCacheMaxO + | s | X |
定义最大流式化响应可缓冲长度 | |||
MCacheMinObjectSize bytes | 0 | s | X |
缓存允许的最小文档大小(以Byte为单位) | |||
MCacheRemovalAlgorithm LRU|GDSF | GDSF | s | X |
定义在需要时哪个文档被移出缓存的算法 | |||
MCacheSize KBytes | 100 | s | X |
缓存所用最大内存量,以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 |
Minimum number of idle child server processes | |||
MinSpareThreads number | s | M | |
Minimum number of idle threads available to handle request spikes | |||
MMapFile file-path [file-path] ... | s | X | |
Map a list of files into memory at startup time | |||
ModMimeUsePathInfo On|Off | Off | d | B |
指定mod_mime 将path_info 当成是文件名的一个组成部分 | |||
MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers [Handlers|Filters] | NegotiatedOnly | svdh | B |
在使用MultiViews查询所匹配的文件时所包含的文件类型 | |||
NameVirtualHost 地址[:端口] | s | ||
为一个基于域名的虚拟主机指定一个IP地址 | |||
NoProxy 主机 [主机] ... | sv | E | |
将直接进行连接的主机、域或网络 | |||
NumServers number | 2 | s | M |
Total number of children alive at the same time | |||
NWSSLTrustedCerts filename [filename] ... | s | B | |
附加的客户端证书列表 | |||
Options [+|-]可选项 [[+|-]可选项] ... | All | svdh | |
配置在特定目录使用哪些特性 | |||
Order ordering | Deny,Allow | dh | B |
控制缺省的访问状态和Allow 与Deny 指令被评估的顺序。 | |||
PassEnv 环境变量名 [环境变量名] ... | svdh | B | |
传送 shell 中的环境变量 | |||
PidFile filename | logs/httpd.pid | s | M |
File where the server records the process ID of the daemon | |||
ProtocolEcho On|Off | sv | X | |
Turn the echo server on or off | |||
<Proxy 包含通配符的URL> ...</Proxy> | sv | E | |
施用于代理资源的指令的容器 | |||
ProxyBlock *|语句|主机|域 [语句|主机|域] ... | sv | E | |
设置被代理屏蔽的语句、主机、和域 | |||
ProxyDomain 域 | sv | E | |
代理请求的默认域名 | |||
ProxyErrorOverride On|Off | Off | sv | E |
覆盖代理内容的错误页 | |||
ProxyIOBufferSize 字节数 | sv | E | |
用于外向HTTP和FTP连接的IO缓冲大小 | |||
<ProxyMatch regex> ...</ProxyMatch> | sv | E | |
施用于匹配正则表达式的代理资源的指令 | |||
ProxyMaxForwards 数值 | 10 | sv | E |
能够同时进行前转的代理请求的最大数目 | |||
ProxyPass [路径] !|url | sv | E | |
将一个远端服务器映射到本地服务器的URL空间中 | |||
ProxyPassReverse [路径] url | sv | E | |
调整由反向代理服务器发送的HTTP回应头中的URL | |||
ProxyPreserveHost on|off | Off | sv | E |
使用发来的HTTP请求头来发送代理请求 | |||
ProxyReceiveBufferSize 字节数 | 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 HTTP回应头中提供的信息 | |||
ReadmeName filename | svdh | B | |
Name of the file that will be inserted at the end of the index listing | |||
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] | svdh | E | |
Configure HTTP request headers | |||
Require entity-name [entity-name] ... | dh | ||
选择哪个认证用户能访问某个资源 | |||
RewriteBase URL-path | dh | E | |
设置目录级重写的基准URL | |||
RewriteCond TestString CondPattern | svdh | E | |
定义重写发生的条件 | |||
RewriteEngine on|off | off | svdh | E |
打开或关闭运行时刻的重写引擎 | |||
RewriteLock file-path | s | E | |
设置RewriteMap 同步所使用的加锁文件名 | |||
RewriteLog file-path | sv | E | |
设置重写引擎日志的文件名 | |||
RewriteLogLevel Level | 0 | sv | E |
设置重写引擎日志的详细程度的级别 | |||
RewriteMap MapName MapType:MapSource | sv | E | |
定义用于关键词查找的映射函数 | |||
RewriteOptions Options | MaxRedirects=10 | svdh | E |
为重写引擎设置一些特殊的选项 | |||
RewriteRule Pattern Substitution | svdh | E | |
为重写引擎定义规则 | |||
RLimitCPU 数值|max [数值|max] | svdh | ||
限制由Apache载入的子进程的CPU占用 | |||
RLimitMEM 数值|max [数值|max] | svdh | ||
限制由Apache载入的子进程的内存占用 | |||
RLimitNPROC 数值|max [数值|max] | svdh | ||
限制由Apache载入的子进程的进程载入数目 | |||
Satisfy any|all | all | dh | |
主机级别的访问控制和用户认证之间的关系 | |||
ScoreBoardFile file-path | logs/apache_status | s | M |
Location of the file used to store coordination data for the child processes | |||
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 注册表项|脚本 | 脚本 | svdh | |
定位CGI脚本解释器的技术 | |||
ScriptLog file-path | sv | B | |
定位CGI脚本错误日志文件的位置 | |||
ScriptLogBuffer bytes | 1024 | sv | B |
会记录入日志文件的PUT或者POST请求头的最大数量 | |||
ScriptLogLength bytes | 10385760 | sv | B |
CGI脚本日志文件的大小限制 | |||
ScriptSock file-path | logs/cgisock | sv | B |
用来与CGI守护进程通信的套接字名字 | |||
SecureListen [IP-address:]portnumber Certificate-Name [MUTUAL] | s | B | |
在指定端口启用 SSL 加密 | |||
SendBufferSize bytes | 0 | s | M |
TCP buffer size | |||
ServerAdmin 邮件地址 | sv | ||
服务器返回给客户端的错误信息中包含的邮件地址 | |||
ServerAlias 主机名 [主机名] ... | v | ||
匹配一个基于域名的虚拟主机的候补域名 | |||
ServerLimit number | s | M | |
Upper limit on configurable number of processes | |||
ServerName 完整的域名[:端口号] | sv | ||
服务器用于辨识自己的主机名和端口号 | |||
ServerPath URL-path | v | ||
为兼容性不好的浏览器访问基于域名的虚拟主机保留的URL路径名 | |||
ServerRoot 目录路径 | /usr/local/apache | s | |
服务器安装基础目录 | |||
ServerSignature On|Off|EMail | Off | svdh | |
配置服务器生成页面的页脚 | |||
ServerTokens Major|Minor|Minimal|ProductOnly|OS|Full | Full | s | |
配置服务器HTTP回应头 | |||
SetEnv 环境变量名 值 | svdh | B | |
设定环境变量 | |||
SetEnvIf attribute regex [!]env-variable[=value] [[!]env-variable[=value]] ... | svdh | B | |
Sets environment variables based on attributes of the request | |||
SetEnvIfNoCase attribute regex [!]env-variable[=value] [[!]env-variable[=value]] ... | svdh | B | |
Sets environment variables based on attributes of the request without respect to case | |||
SetHandler 处理器名 | svdh | ||
强制所有匹配文件被一个处理器处理 | |||
SetInputFilter 过滤器[;过滤器...] | svdh | ||
设置处理客户端请求和POST输入时使用的过滤器 | |||
SetOutputFilter 过滤器[;过滤器...] | svdh | ||
设置用于处理服务器回应的过滤器 | |||
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)" | sv | 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 | |||
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 | |||
SSLEngine on|off | off | sv | E |
SSL Engine Operation Switch | |||
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 CA certificates for proxy server client certificates | |||
SSLProxyMachineCertificatePath directory | s | E | |
Directory of PEM-encoded CA certificates for proxy server client certificates | |||
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 | |||
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 | |
Number of child server processes created at startup | |||
StartThreads number | s | M | |
Number of threads created on startup | |||
SuexecUserGroup User Group | sv | ||
CGI 程序的用户和组权限 | |||
ThreadLimit number | s | M | |
Sets the upper limit on the configurable number of threads per child process | |||
ThreadsPerChild number | s | M | |
Number of threads created by each child process | |||
ThreadStackSize number | 65536 | s | M |
Determine the stack size for each thread | |||
TimeOut 数字 | 300 | s | |
对于某些事件,服务器在断定请求失败前等待的时间 | |||
TransferLog file|pipe | sv | B | |
指定日志文件的位置 | |||
TypesConfig file-path | conf/mime.types | s | B |
指定mime.types 文件的位置 | |||
UnsetEnv 环境变量名 [环境变量名] ... | svdh | B | |
从环境中删除一个变量 | |||
UseCanonicalName on|off|dns | on | svd | |
配置服务器如何决定它自己的域名和端口 | |||
User unix-userid | #-1 | s | M |
The userid under which the server will answer requests | |||
UserDir Directory-filename | public_html | sv | B |
用户网站目录的位置 | |||
VirtualDocumentRoot 包含替换操作格式符的目录名称|none | none | sv | E |
对于给定的虚拟主机动态配置根文档目录 | |||
VirtualDocumentRootIP 包含替换操作格式符的目录名称|none | none | sv | E |
对于给定的虚拟主机动态配置根文档目录 | |||
<VirtualHost 地址[:端口号] [地址[:端口号]] ...> ... </VirtualHost> | s | ||
包含仅施用于指定主机名或IP地址的指令 | |||
VirtualScriptAlias 包含替换操作格式符的目录名称|none | none | sv | E |
对于给定的虚拟主机动态配置 CGI 目录 | |||
VirtualScriptAliasIP 包含替换操作格式符的目录名称|none | none | sv | E |
对于给定的虚拟主机动态配置 CGI 目录 | |||
XBitHack on|off|full | off | svdh | B |
Parse SSI directives in files with the execute bit set |