Syntax, Default, Compatibility
|
Context
- server config,
virtual host,
directory,
.htaccess
|
Override |
Status |
Module |
|
server config |
virtual host |
|
|
|
core |
|
AccessFileName filename filename ...
| AccessFileName .htaccess
| | AccessFileName can accept more than one filename only in Apache 1.3 and later |
|
server config |
virtual host |
|
|
|
core
|
|
Action action-type cgi-script
| | | Action is only available in Apache 1.1 and later |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_actions
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
AddCharset charset extension [extension...]
| | | AddCharset is only available in Apache 1.3.10 and later |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime
|
AddDefaultCharset Off / On / charset
| AddDefaultCharset Off
| | AddDefaultCharset is only available in Apache 1.3.12 and later |
|
server config |
virtual host |
directory |
.htaccess |
|
core
|
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime |
AddHandler handler-name extension extension...
| | | AddHandler is only available in Apache 1.1 and later |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime
|
AddHandler handler-name extension extension...
| | | AddHandler is only available in Apache 1.1 and later |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime |
AddModule module module ...
| | | AddModule is only available in Apache 1.2 and later |
|
server config |
|
|
|
|
core
|
|
|
server config |
virtual host |
|
|
|
base
|
mod_browser
|
AddType MIME-type extension extension...
| | |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime |
AgentLog file-pipe
| AgentLog logs/agent_log
| |
|
server config |
virtual host |
|
|
|
Extension
|
mod_log_agent |
Alias url-path directory-filename
| | |
|
server config |
virtual host |
|
|
|
Base
|
mod_alias |
AliasMatch regex directory-filename
| | | Available in Apache 1.3 and later |
|
server config |
virtual host |
|
|
|
Base
|
mod_alias
|
allow from env=variablename
| | | Apache 1.2 and above |
|
|
|
directory |
.htaccess |
Limit
|
Base
|
mod_access
|
|
|
|
directory |
.htaccess |
Limit
|
Base
|
mod_access |
AllowCONNECT <port list>
| AllowCONNECT 443 563
| | AllowCONNECT is only available in Apache 1.3.2 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
|
|
|
directory |
|
|
core |
|
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_anon |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_db |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_dbm |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_dbm |
|
|
|
directory |
.htaccess |
AuthConfig
|
Extension
|
mod_auth_db |
AuthDigestAlgorithm MD5 | MD5-sess
| AuthDigestAlgorithm MD5
| | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
AuthDigestDomain URI URI ...
| | | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_digest |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
AuthDigestGroupFile filename
| | | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
AuthDigestNcCheck On/Off
| AuthDigestNcCheck Off
| | Available in Apache 1.3.8 and later |
|
server config |
|
|
|
Not applicable
|
Base
|
mod_auth_digest
|
AuthDigestNonceFormat ???
| AuthDigestNonceFormat ???
| | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
AuthDigestNonceLifetime <time>
| AuthDigestNonceLifetime 300
| | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
AuthDigestQop none | 1*{ auth | auth-int }
| AuthDigestQop auth
| | Available in Apache 1.3.8 and later |
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth_digest
|
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth |
|
|
|
directory |
.htaccess |
AuthConfig
|
core |
|
|
|
|
directory |
.htaccess |
AuthConfig
|
core |
|
|
|
|
directory |
.htaccess |
AuthConfig
|
Base
|
mod_auth |
|
server config |
|
|
|
|
core |
|
|
server config |
|
|
|
|
Core |
|
|
server config |
|
|
|
|
base
|
mod_browser
|
BrowserMatch regex envar[=value] [...]
| none
| | Apache 1.2 and above (in Apache 1.2 this directive was found in the now-obsolete mod_browser module) |
|
server config |
|
|
|
none
|
Base
|
mod_setenvif
|
|
server config |
|
|
|
|
base
|
mod_browser
|
BrowserMatchNoCase regex envar[=value] [...]
| none
| | Apache 1.2 and above (in Apache 1.2 this directive was found in the now-obsolete mod_browser module) |
|
server config |
|
|
|
none
|
Base
|
mod_setenvif
|
BS2000Account account
| none
| | BS2000Account is only available for BS2000 machines, as of Apache 1.3 and later. |
|
server config |
|
|
|
|
core
|
|
CacheDefaultExpire <time>
| CacheDefaultExpire 1
| | CacheDefaultExpire is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheDirLength <length>
| CacheDirLength 1
| | CacheDirLength is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheDirLevels <levels>
| CacheDirLevels 3
| | CacheDirLevels is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheForceCompletion <percentage>
| 90
| | CacheForceCompletion is only available in Apache 1.3.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheGcInterval <time>
| None
| | CacheGcinterval is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheLastModifiedFactor <factor>
| CacheLastModifiedFactor 0.1
| | CacheLastModifiedFactor is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheMaxExpire <time>
| CacheMaxExpire 24
| | CacheMaxExpire is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
|
server config |
|
|
|
|
Base
|
mod_negotiation
|
CacheRoot <directory>
| None
| | CacheRoot is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CacheSize <size>
| CacheSize 5
| | CacheSize is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
CheckSpelling on/off
| CheckSpelling Off
| | CheckSpelling was available as a separately available module for Apache 1.1, but was limited to miscapitalizations. As of Apache 1.3, it is part of the Apache distribution. Prior to Apache 1.3.2, the CheckSpelling directive was only available in the "server" and "virtual host" contexts. |
|
server config |
virtual host |
directory |
.htaccess |
Options
|
Base
|
mod_speling
|
|
server config |
|
|
|
|
core
|
|
ContentDigest on|off
| ContentDigest off
| | ContentDigest is only available in Apache 1.1 and later |
|
server config |
virtual host |
directory |
.htaccess |
Options
|
experimental
|
|
|
server config |
virtual host |
|
|
|
optional
|
mod_usertrack |
cookielog">CookieLog filename
| | | Only available in Apache 1.2 and above |
|
server config |
virtual host |
|
|
|
|
mod_cookies
|
|
server config |
virtual host |
|
|
|
Experimental
|
mod_cookies |
CookieName token
| Apache
| | Apache 1.3.7 and later |
|
server config |
virtual host |
directory |
.htaccess |
|
optional
|
mod_usertrack
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
optional
|
mod_usertrack |
|
server config |
|
|
|
|
core |
|
CustomLog file-pipe format-or-nickname
| | Nickname only available in Apache 1.3 or later
|
|
server config |
virtual host |
|
|
|
Base
|
mod_log_config |
|
server config |
virtual host |
|
|
|
base
|
mod_log_config |
CustomLog file-pipe format-or-nickname env=[!]environment-variable
| | Only available in Apache 1.3.5 or later
|
|
server config |
virtual host |
|
|
|
Base
|
mod_log_config |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
DefaultLanguage MIME-lang
| | | DefaultLanguage is only available in Apache 1.3.4 and later. |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_mime
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
core |
|
|
|
|
directory |
.htaccess |
Limit
|
Base
|
mod_access |
deny from env=variablename
| | | Apache 1.2 and above |
|
|
|
directory |
.htaccess |
Limit
|
Base
|
mod_access
|
directive-name some args
| directive-name default-value
| | compatibility notes |
|
|
|
|
|
override
|
status
|
module-name
|
|
server config |
virtual host |
|
|
|
Core. |
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_dir |
<DirectoryMatch regex> ... </DirectoryMatch>
| | | Available in Apache 1.3 and later |
|
server config |
virtual host |
|
|
|
Core.
|
|
DocumentRoot directory-filename
| DocumentRoot /usr/local/apache/htdocs
| |
|
server config |
virtual host |
|
|
|
core |
|
<!--#element attribute=value attribute=value ... --> The value will often be enclosed in double quotes; many commands only allow a single attribute-value pair. Note that the comment terminator (-->) should be preceded by whitespace to ensure that it isn't considered part of an SSI token. | | |
|
|
|
|
|
|
|
|
ErrorDocument error-code document
| | | The directory and .htaccess contexts are only available in Apache 1.1 and later. |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
core
|
|
ErrorLog filename|syslog[:facility]
| ErrorLog logs/error.log (Windows and OS/2)
| |
|
server config |
virtual host |
|
|
|
core |
|
Example
| None
| | Example is only available in Apache 1.2 and later. |
|
server config |
virtual host |
directory |
.htaccess |
Options
|
Extension
|
mod_example
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Extension
|
mod_expires |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Extension
|
mod_expires |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Extension
|
mod_expires |
ExtendedStatus On|Off
| ExtendedStatus Off
| | ExtendedStatus is only available in Apache 1.3.2 and later. |
|
server config |
|
|
|
|
Base
|
mod_status
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
<Files filename> ... </Files>
| | | only available in Apache 1.2 and above. |
|
server config |
virtual host |
|
.htaccess |
|
core
|
|
<FilesMatch regex> ... </FilesMatch>
| | | only available in Apache 1.3 and above. |
|
server config |
virtual host |
|
.htaccess |
|
core
|
|
ForceType media type
| | | ForceType is only available in Apache 1.1 and later. |
|
|
|
directory |
.htaccess |
|
Base
|
mod_mime
|
Group unix-group
| Group #-1
| |
|
server config |
virtual host |
|
|
|
core |
|
Header [ set | append | add ] header value | | |
|
|
|
|
|
|
|
|
|
server config |
virtual host |
|
.htaccess |
|
optional
|
mod_header |
HeaderName filename
| | | some features only available after 1.3.6; see text |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex
|
HostNameLookups on | off | double
| HostNameLookups off
| Default was on prior to Apache 1.3. |
|
server config |
virtual host |
directory |
|
|
core
|
|
|
server config |
virtual host |
directory |
|
|
core |
|
<IfDefine [!]parameter-name> ... </IfDefine>
| None
| | <IfDefine> is only available in 1.3.1 and later. |
|
server config |
virtual host |
directory |
.htaccess |
|
Core
|
|
<IfModule [!]module-name> ... </IfModule>
| None
| | IfModule is only available in 1.2 and later. |
|
server config |
virtual host |
directory |
.htaccess |
|
Core
|
|
ImapBase {map, referer, URL}
| | | ImapBase is only available in Apache 1.1 and later. |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
|
mod_imap.c
|
ImapDefault {error, nocontent, map, referer, URL}
| | | ImapDefault is only available in Apache 1.1 and later. |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
|
mod_imap.c
|
ImapMenu {none, formatted, semiformatted, unformatted}
| | | ImapMenu is only available in Apache 1.1 and later. |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
|
mod_imap.c
|
Include filename
| | | Include is only available in Apache 1.3 and later. |
|
server config |
|
|
|
|
Core
|
|
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex |
IndexOptions [+|-]option [+|-]option ... (Apache 1.3.3 and later)
| | | '+/-' syntax and merging of multiple IndexOptions directives is only available with Apache 1.3.3 and later; the FoldersFirst and DescriptionWidth options are only available with Apache 1.3.10 and later |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex
|
|
|
|
|
|
|
|
|
IndexOrderDefault Ascending|Descending Name|Date|Size|Description
| | | IndexOrderDefault is only available in Apache 1.3.4 and later. |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex
|
|
server config |
|
|
|
|
Core |
|
(Apache 1.2) KeepAlive on/off
| (Apache 1.2) KeepAlive On
| | KeepAlive is only available in Apache 1.1 and later. |
|
server config |
|
|
|
|
Core
|
|
(Apache 1.1) KeepAlive max-requests
| (Apache 1.1) KeepAlive 5
| |
|
|
|
|
|
|
|
|
KeepAliveTimeout seconds
| KeepAliveTimeout 15
| | KeepAliveTimeout is only available in Apache 1.1 and later. |
|
server config |
|
|
|
|
Core
|
|
|
server config |
|
|
|
|
Core |
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_negotiation |
<Limit method method ... > ... </Limit>
| | |
|
server config |
virtual host |
directory |
.htaccess |
|
core |
|
<LimitExcept method method ... > ... </LimitExcept>
| | | Available in Apache 1.3.5 and later |
|
server config |
virtual host |
directory |
.htaccess |
|
core
|
|
LimitRequestBody number
| LimitRequestBody 0
| | LimitRequestBody is only available in Apache 1.3.2 and later. |
|
server config |
virtual host |
directory |
.htaccess |
|
core
|
|
LimitRequestFields number
| LimitRequestFields 100
| | LimitRequestFields is only available in Apache 1.3.2 and later. |
|
server config |
|
|
|
|
core
|
|
LimitRequestFieldsize number
| LimitRequestFieldsize 8190
| | LimitRequestFieldsize is only available in Apache 1.3.2 and later. |
|
server config |
|
|
|
|
core
|
|
LimitRequestLine number
| LimitRequestLine 8190
| | LimitRequestLine is only available in Apache 1.3.2 and later. |
|
server config |
|
|
|
|
core
|
|
Listen [IP address:]port number
| | | Listen is only available in Apache 1.1 and later. |
|
server config |
|
|
|
|
core
|
|
Listen [ port | IP-address:port ]
| none
| |
|
server config |
|
|
|
|
Core |
|
ListenBacklog backlog
| ListenBacklog 511
| | ListenBacklog is only available in Apache versions after 1.2.0. |
|
server config |
|
|
|
|
Core
|
|
|
server config |
|
|
|
|
Core (Windows)
|
mod_dll |
|
server config |
|
|
|
|
Experimental
|
mod_dld |
|
server config |
|
|
|
|
Base
|
mod_so |
|
server config |
|
|
|
|
Experimental
|
mod_dld |
|
server config |
|
|
|
|
Core (Windows)
|
mod_dll |
|
server config |
|
|
|
|
Base
|
mod_so |
|
server config |
virtual host |
|
|
|
core
|
|
<Location URL> ... </Location>
| | | Location is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
|
core
|
|
<LocationMatch regex> ... </LocationMatch>
| | | LocationMatch is only available in Apache 1.3 and later. |
|
server config |
virtual host |
|
|
|
core
|
|
LockFile filename
| LockFile logs/accept.lock
| |
|
server config |
|
|
|
|
core |
|
LogFormat format [nickname]
| LogFormat "%h %l %u %t \"%r\" %s %b"
| Nickname only available in Apache 1.3 or later
|
|
server config |
virtual host |
|
|
|
Base
|
mod_log_config |
LogLevel level
| LogLevel error
| | LogLevel is only available in 1.3 or later. |
|
server config |
virtual host |
|
|
|
core
|
|
|
server config |
|
|
|
|
core |
|
|
server config |
|
|
|
|
core
|
|
|
server config |
|
|
|
|
core |
|
|
server config |
|
|
|
|
core |
|
MetaDir directory name
| MetaDir .web
| | MetaDir is only available in Apache 1.1 and later. |
|
|
|
directory |
|
|
Base
|
mod_cern_meta
|
MetaFiles on/off
| MetaFiles off
| | MetaFiles is only available in Apache 1.3 and later. |
|
|
|
directory |
|
|
Base
|
mod_cern_meta
|
MetaSuffix suffix
| MetaSuffix .meta
| | MetaSuffix is only available in Apache 1.1 and later. |
|
|
|
directory |
|
|
Base
|
mod_cern_meta
|
|
server config |
virtual host |
|
|
|
Extension
|
mod_mime_magic |
|
server config |
|
|
|
|
core |
|
MMapFile filename ...
| None
| | Only available in Apache 1.3 or later |
|
server config |
|
|
|
Not applicable
|
Experimental
|
mod_mmap_static
|
NameVirtualHost addr[:port]
| | | NameVirtualHost is only available in Apache 1.3 and later |
|
server config |
|
|
|
|
core
|
|
NoCache <word/host/domain list>
| None
| | NoCache is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
Options [+|-]option [+|-]option ...
| | |
|
server config |
virtual host |
directory |
.htaccess |
Options
|
core |
|
order ordering
| order deny,allow
| |
|
|
|
directory |
.htaccess |
Limit
|
Base
|
mod_access |
PassEnv variable variable ...
| | | PassEnv is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
|
Base
|
mod_env
|
PidFile filename
| PidFile logs/httpd.pid
| |
|
server config |
|
|
|
|
core |
|
|
server config |
|
|
|
|
core |
|
ProxyBlock <word/host/domain list>
| None
| | ProxyBlock is only available in Apache 1.2 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyDomain <Domain>
| None
| | ProxyDomain is only available in Apache 1.3 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyPass <path> <url>
| None
| | ProxyPass is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyPassReverse <path> <url>
| None
| | ProxyPassReverse is only available in Apache 1.3b6 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyRemote <match> <remote-server>
| None
| | ProxyRemote is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyRequests on/off
| ProxyRequests Off
| | ProxyRequests is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ProxyVia { off | on | full | block }
| ProxyVia off
| | ProxyVia is only available in Apache 1.3.2 and later. |
|
server config |
virtual host |
|
|
Not applicable
|
Base
|
mod_proxy
|
ReadmeName filename
| | | some features only available after 1.3.6; see text |
|
server config |
virtual host |
directory |
.htaccess |
Indexes
|
Base
|
mod_autoindex
|
Redirect [ status ] url-path url
| | | The directory and .htaccess context's are only available in versions 1.1 and later. The status argument is only available in Apache 1.2 or later. |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_alias
|
RedirectMatch [status] regex url
| | | Available in Apache 1.3 and later |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_alias
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_alias
|
RedirectTemp url-path url
| | | This directive is only available in 1.2 |
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Base
|
mod_alias
|
|
server config |
virtual host |
|
|
|
Extension
|
mod_log_referer |
|
server config |
virtual host |
|
|
|
Extension
|
mod_log_referer |
| <remote-server> = <protocol>://<hostname>[:port] <protocol> is the protocol that should be used to communicate with the remote server; only "http" is supported by this module. | | |
|
|
|
|
|
|
|
|
RemoveHandler extension extension...
| | | RemoveHandler is only available in Apache 1.3.4 and later. |
|
|
|
directory |
.htaccess |
|
Base
|
mod_mime
|
require entity-name entity entity...
| | |
|
|
|
directory |
.htaccess |
AuthConfig
|
core |
|
|
server config |
virtual host |
|
|
|
core |
|
RewriteBase BaseURL
| default is the physical directory path
| Apache 1.2
|
|
|
|
directory |
.htaccess |
FileInfo
|
Extension
|
mod_rewrite.c
|
RewriteCond TestString CondPattern
| None
| Apache 1.2 (partially), Apache 1.3
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Extension
|
mod_rewrite.c
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Extension
|
mod_rewrite.c
|
|
server config |
|
|
|
Not applicable
|
Extension
|
mod_rewrite.c
|
|
server config |
virtual host |
|
|
Not applicable
|
Extension
|
mod_rewrite.c
|
|
server config |
virtual host |
|
|
Not applicable
|
Extension
|
mod_rewrite.c
|
RewriteMap MapName MapType:MapSource
| not used per default
| Apache 1.2 (partially), Apache 1.3
|
|
server config |
virtual host |
|
|
Not applicable
|
Extension
|
mod_rewrite.c
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Extension
|
mod_rewrite.c
|
RewriteRule Pattern Substitution
| None
| Apache 1.2 (partially), Apache 1.3
|
|
server config |
virtual host |
directory |
.htaccess |
FileInfo
|
Extension
|
mod_rewrite.c
|
RLimitCPU # or 'max' [# or 'max']
| Unset; uses operating system defaults
| | RLimitCPU is only available in Apache 1.2 and later |
|
server config |
virtual host |
|
|
|
core
|
|
RLimitMEM # or 'max' [# or 'max']
| Unset; uses operating system defaults
| | RLimitMEM is only available in Apache 1.2 and later |
|
server config |
virtual host |
|
|
|
core
|
|
RLimitNPROC # or 'max' [# or 'max']
| Unset; uses operating system defaults
| | RLimitNPROC is only available in Apache 1.2 and later |
|
server config |
virtual host |
|
|
|
core
|
|
Satisfy 'any' or 'all'
| Satisfy all
| | Satisfy is only available in Apache 1.2 and later |
|
|
|
directory |
.htaccess |
|
core
|
|
|
server config |
|
|
|
|
core |
|
Script method cgi-script
| | | Script is only available in Apache 1.1 and later; arbitrary method use is only available with 1.3.10 and later |
|
server config |
virtual host |
directory |
|
|
Base
|
mod_actions
|
|
server config |
virtual host |
|
|
|
Base
|
mod_alias |
|
server config |
virtual host |
|
|
|
Base
|
mod_alias
|
|
|
|
directory |
.htaccess |
|
core (Windows only) |
|
|
server config |
|
|
|
|
mod_cgi |
|
|
server config |
|
|
|
|
mod_cgi |
|
|
server config |
|
|
|
|
mod_cgi |
|
|
server config |
|
|
|
|
core |
|
|
server config |
virtual host |
|
|
|
core |
|
ServerAlias host1 host2 ...
| | | ServerAlias is only available in Apache 1.1 and later. |
|
|
virtual host |
|
|
|
core
|
|
|
server config |
virtual host |
|
|
|
core |
|
ServerPath pathname
| | | ServerPath is only available in Apache 1.1 and later. |
|
|
virtual host |
|
|
|
core
|
|
ServerRoot directory-filename
| ServerRoot /usr/local/apache
| |
|
server config |
|
|
|
|
core |
|
ServerSignature Off | On | EMail
| ServerSignature Off
| | ServerSignature is only available in Apache 1.3 and later. |
|
server config |
virtual host |
directory |
.htaccess |
|
core
|
|
ServerTokens Minimal|OS|Full
| ServerTokens Full
| | ServerTokens is only available in Apache 1.3 and later |
|
server config |
|
|
|
|
core
|
|
|
server config |
|
|
|
|
core |
|
SetEnv variable value
| | | SetEnv is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
|
Base
|
mod_env
|
SetEnvIf attribute regex envar[=value] [...]
| none
| | Apache 1.3 and above; the Request_Protocol keyword and environment-variable matching are only available with 1.3.7 and later |
|
server config |
|
|
|
none
|
Base
|
mod_setenvif
|
SetEnvIfNoCase attribute regex envar[=value] [...]
| none
| | Apache 1.3 and above |
|
server config |
|
|
|
none
|
Base
|
mod_setenvif
|
SetHandler handler-name
| | | SetHandler is only available in Apache 1.1 and later. |
|
|
|
directory |
.htaccess |
|
Base
|
mod_mime
|
SetHandler handler-name
| | | SetHandler is only available in Apache 1.1 and later. |
|
|
|
directory |
.htaccess |
|
Base
|
mod_mime
|
|
server config |
|
|
|
|
core |
|
ThreadsPerChild number
| ThreadsPerChild 50
| | Available only with Apache 1.3 and later with Windows |
|
server config |
|
|
|
|
core (Windows, NetWare)
|
|
ThreadStackSize number
| ThreadStackSize 65536
| | Available only with Apache 1.3 and later with NetWare |
|
server config |
|
|
|
|
core (NetWare)
|
|
|
server config |
|
|
|
|
core |
|
|
server config |
virtual host |
|
|
|
Base
|
mod_log_config |
|
server config |
virtual host |
|
|
|
Base
|
mod_log_common |
|
server config |
|
|
|
|
Base
|
mod_mime |
UnsetEnv variable variable ...
| | | UnsetEnv is only available in Apache 1.1 and later. |
|
server config |
virtual host |
|
|
|
Base
|
mod_env
|
UseCanonicalName on|off|dns
| UseCanonicalName on
| | UseCanonicalName is only available in Apache 1.3 and later |
|
server config |
virtual host |
directory |
|
Options
|
|
|
|
server config |
virtual host |
|
|
|
core |
|
UserDir directory/filename
| UserDir public_html
| All forms except the UserDir public_html form are only available in Apache 1.1 or above. Use of the enabled keyword, or disabled with a list of usernames, is only available in Apache 1.3 and above. |
|
server config |
virtual host |
|
|
|
Base
|
mod_userdir
|
VirtualDocumentRoot interpolated-directory
| None
| | VirtualDocumentRoot is only available in 1.3.7 and later. |
|
server config |
virtual host |
|
|
|
Extension
|
mod_vhost_alias
|
VirtualDocumentRootIP interpolated-directory
| None
| | VirtualDocumentRootIP is only available in 1.3.7 and later. |
|
server config |
virtual host |
|
|
|
Extension
|
mod_vhost_alias
|
<VirtualHost addr[:port] ...> ... </VirtualHost>
| | | Multiple address support only available in Apache 1.2 and later. |
|
server config |
|
|
|
|
Core.
|
|
VirtualScriptAlias interpolated-directory
| None
| | VirtualScriptAlias is only available in 1.3.7 and later. |
|
server config |
virtual host |
|
|
|
Extension
|
mod_vhost_alias
|
VirtualScriptAliasIP interpolated-directory
| None
| | VirtualScriptAliasIP is only available in 1.3.7 and later. |
|
server config |
virtual host |
|
|
|
Extension
|
mod_vhost_alias
|
|
server config |
virtual host |
directory |
.htaccess |
Options
|
Base
|
mod_include |