From: Rich Bowen When returning a document to the client the server looks for
the first existing access control file from this list of names
@@ -169,30 +175,30 @@
disabled with
See Also: AllowOverride See Also: AllowOverride This directive specifies the name of the character set that
will be added to any response that does not have any parameter
@@ -204,41 +210,43 @@
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.Apache Core Features
@@ -74,13 +79,13 @@
+
- AccessFileName directive
+ 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
+ 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
-
- <Directory />
- AllowOverride None
+ <Directory />
+ AllowOverride None
</Directory>
-
- AddDefaultCharset
- directive
- Syntax: AddDefaultCharset
- On|Off|charset
- Context: all
- Status: core
- Default: AddDefaultCharset
- Off
- Compatibility: AddDefaultCharset is
- only available in Apache 1.3.12 and later
+
+
+ AddDefaultCharset directive
+ Syntax: AddDefaultCharset
+ On|Off|charset
+ Context: all
+ Status: core
+ Default:
+ AddDefaultCharset Off
+ Compatibility:
+ AddDefaultCharset is only available in Apache 1.3.12 and later
iso-8859-1
as required by the directive. You can
also specify an alternate charset to be used; e.g.
AddDefaultCharset utf-8
.
+
- AddModule directive
+ AddModule
+ directive
- Syntax: AddModule module
- [module] ...
- Context: server config
- Status: core
- Compatibility: AddModule is only
- available in Apache 1.2 and later
+ Syntax: AddModule
+ module [module] ...
+ Context: server config
+ Status: core
+ Compatibility: AddModule is
+ only available in Apache 1.2 and later
+ active modules; this list can be cleared with the ClearModuleList directive.
AllowOverride
- All
AllowOverride
+ All
When the server finds an .htaccess file (as specified by AccessFileName) it needs to know @@ -251,8 +259,8 @@ filesystem.
When this directive is set to All
, then any
- directive which has the .htaccess Context is allowed in
+ directive which has the .htaccess Context is allowed in
.htaccess files.
The directive-type can be one of the following @@ -263,45 +271,46 @@
See Also: AccessFileName
-See Also: AccessFileName
+This directive sets the name of the authorization realm for a directory. This realm is given to the client so that the user @@ -344,18 +355,21 @@ as AuthUserFile and AuthGroupFile to work.
-This directive selects the type of user authentication for a
directory. Only Basic
and Digest
are
@@ -366,43 +380,45 @@
as AuthUserFile and AuthGroupFile to
work.
The server comes with a built-in list of active modules. This directive clears the list. It is assumed that the list - will then be re-populated using the AddModule directive.
-ContentDigest
- off
ContentDigest
+ off
This directive enables the generation of @@ -430,23 +446,24 @@ by the core, and not by any module. For example, SSI documents, output from CGI scripts, and byte range responses do not have this header.
-DefaultType
- text/html
DefaultType
+ text/html
There will be times when the server is asked to provide a document whose type cannot be determined by its MIME types @@ -466,18 +483,19 @@ directive is only provides the default mime-type. All other mime-type definitions, including filename extensions, that might identify the media type will override this default.
-<Directory> and </Directory> are used to enclose a group of directives which will apply only to the named @@ -488,8 +506,8 @@ single character, and `*' matches any sequences of characters. As of Apache 1.3, you may also use `[]' character ranges like in the shell. Also as of Apache 1.3 none of the wildcards match - a `/' character, which more closely mimics the behavior of - Unix shells. Example:
+ a `/' character, which more closely mimics the behavior of Unix + shells. Example:<Directory /usr/local/httpd/htdocs> Options Indexes FollowSymLinks @@ -508,16 +526,17 @@If multiple (non-regular expression) directory sections match the directory (or its parents) containing a document, then the directives are applied in the order of shortest match - first, interspersed with the directives from the .htaccess files. For example, with
+ first, interspersed with the directives from the .htaccess files. For example, + with-for access to the document<Directory />
- AllowOverride None
- </Directory>
-
- <Directory /home/*>
- AllowOverride FileInfo
+<Directory />
+ AllowOverride None
+ </Directory>
+
+ <Directory /home/*>
+ AllowOverride FileInfo
</Directory>/home/web/dir/doc.html
@@ -545,9 +564,9 @@ appeared in the configuration file. For example, with-Suppose that the filename being accessed is @@ -576,33 +595,34 @@<Directory ~ abc$>
- ... directives here ...
- </Directory>
+<Directory ~ abc$>
+ ... directives here ...
+ </Directory>
and then override this for directories you - want accessible. See the Security Tips page for more - details.
+ want accessible. See the Security Tips page for + more details. The directory sections typically occur in the access.conf file, but they may appear in any configuration file. <Directory> directives cannot nest, and cannot appear in - a <Limit> or <LimitExcept> section. + a <Limit> or <LimitExcept> section.See also: How Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received
-<DirectoryMatch> and </DirectoryMatch> are used to enclose a group of directives which will apply only to the @@ -616,29 +636,30 @@
would match directories in /www/ that consisted of three numbers.
-See Also: <Directory> for a description of how
- regular expressions are mixed in with normal
- <Directory>s.
+
See Also: <Directory> for a description of
+ how regular expressions are mixed in with normal
+ <Directory>s.
See also: How
Directory, Location and Files sections work for an
explanation of how these different sections are combined when a
request is received
DocumentRoot
- /usr/local/apache/htdocs
DocumentRoot
+ /usr/local/apache/htdocs
This directive sets the directory from which httpd will serve files. Unless matched by a directive like Alias, the @@ -655,24 +676,25 @@
There appears to be a bug in mod_dir which causes problems when the DocumentRoot has a trailing slash (i.e., "DocumentRoot /usr/web/") so please avoid that.
-In the event of a problem or error, Apache can be configured to do one of four things,
@@ -701,9 +723,9 @@
ErrorDocument 500
- http://foo.example.com/cgi-bin/tester
- ErrorDocument 404 /cgi-bin/bad_urls.pl
- ErrorDocument 401 /subscription_info.html
+ http://foo.example.com/cgi-bin/tester
+ ErrorDocument 404 /cgi-bin/bad_urls.pl
+ ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access
today"
@@ -729,32 +751,33 @@
See Also: documentation of customizable responses.
-ErrorLog
- logs/error_log
(Unix)ErrorLog
- logs/error.log
(Windows and OS/2)ErrorLog
+ logs/error_log
(Unix)ErrorLog
+ logs/error.log
(Windows and OS/2)The error log directive sets the name of the file to which the server will log any errors it encounters. If the file-path does not begin with a slash (/) then it is - assumed to be relative to the ServerRoot. If the file-path begins - with a pipe (|) then it is assumed to be a command to spawn to - handle the error log.
+ assumed to be relative to the ServerRoot. If the file-path + begins with a pipe (|) then it is assumed to be a command to + spawn to handle the error log.Apache 1.3 and above: Using
syslog
instead of a filename enables logging via
@@ -764,33 +787,33 @@
facility can be one of the names usually documented in
syslog(1).
SECURITY: See the security tips +
SECURITY: See the security tips document for details on why your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server.
See also: LogLevel and Apache Log Files
-The <Files> directive provides for access control by - filename. It is comparable to the <Directory> directive and <Location> directives. It should be + filename. It is comparable to the <Directory> directive and <Location> directives. It should be matched with a </Files> directive. The directives given within this section will be applied to any object with a basename (last component of filename) matching the specified @@ -813,9 +836,9 @@ 1.3 and later, <FilesMatch> is preferred, however. -
Note that unlike <Directory>
and <Location>
sections,
+
Note that unlike <Directory>
and <Location>
sections,
<Files>
sections can be used inside
.htaccess files. This allows users to control access to their
own files, at a file-by-file level.
The <FilesMatch> directive provides for access control by filename, just as the <Files> @@ -852,20 +876,22 @@ Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received -
Note that unlike DefaultType, this directive overrides all mime-type associations, including filename extensions, that might identify the media type.
-HostNameLookups
- off
double
- available only in Apache 1.3 and above.HostNameLookups
+ off
double
available only in Apache 1.3 and
+ above.on
prior to Apache 1.3.
This directive enables DNS lookups so that host names can be
@@ -916,10 +943,10 @@
address. (In "tcpwrappers" terminology this is called
PARANOID
.)
Regardless of the setting, when mod_access is used for controlling access - by hostname, a double reverse lookup will be performed. This is - necessary for security. Note that the result of this +
Regardless of the setting, when mod_access is used for controlling
+ access by hostname, a double reverse lookup will be performed.
+ This is necessary for security. Note that the result of this
double-reverse isn't generally available unless you set
HostnameLookups double
. For example, if only
HostnameLookups on
and a request is made to an
@@ -936,24 +963,26 @@
don't have to suffer the extra latency that a lookup entails.
Heavily loaded sites should leave this directive
off
, since DNS lookups can take considerable
- amounts of time. The utility logresolve, provided in the
- /support directory, can be used to look up host names
- from logged IP addresses offline.
IdentityCheck
- off
IdentityCheck
+ off
This directive enables RFC1413-compliant logging of the remote user name for each connection, where the client machine @@ -970,22 +999,23 @@ possibly fail and add 30 seconds of latency to each hit. So in general this is not very useful on public servers accessible from the Internet.
-The <IfDefine test>...</IfDefine> section is used to mark directives that are conditional. The @@ -1024,20 +1054,22 @@ LoadModule proxy_module modules/libproxy.so </IfDefine> -
The <IfModule test>...</IfModule> @@ -1067,17 +1099,17 @@
<IfModule> sections are nest-able, which can be used to implement simple multiple-module tests.
-This directive allows inclusion of other configuration files @@ -1086,18 +1118,19 @@
If Include
points to a directory, rather than a
file, Apache will read all files in that directory, and any
subdirectory, and parse those as configuration files.
KeepAlive On
KeepAlive On
The Keep-Alive extension to HTTP/1.0 and the persistent connection feature of HTTP/1.1 provide long-lived HTTP sessions @@ -1119,46 +1152,47 @@ encoding will be used in order to send content of unknown length over persistent connections.
-See also MaxKeepAliveRequests.
-KeepAliveTimeout
- 15
See also MaxKeepAliveRequests.
+KeepAliveTimeout
+ 15
The number of seconds Apache will wait for a subsequent
request before closing the connection. Once a request has been
- received, the timeout value specified by the Timeout
directive applies.
Timeout
directive applies.
Setting KeepAliveTimeout
to a high value may
cause performance problems in heavily loaded servers. The
higher the timeout, the more server processes will be kept
occupied waiting on connections with idle clients.
Access controls are normally effective for all access methods, and this is the usual @@ -1175,8 +1209,8 @@ other methods unprotected:
- <Limit POST PUT DELETE>
- Require valid-user
+ <Limit POST PUT DELETE>
+ Require valid-user
</Limit>
The method names listed can be one or more of: GET, POST, PUT,
@@ -1184,50 +1218,50 @@
MKCOL, COPY, MOVE, LOCK, and UNLOCK. The method name is
case-sensitive. If GET is used it will also restrict
HEAD requests.
- <LimitExcept> and </LimitExcept> are used to enclose a group of access control directives which will then apply to any HTTP access method not listed in - the arguments; i.e., it is the opposite of a <Limit> section and can be used to control - both standard and nonstandard/unrecognized methods. See the - documentation for <Limit> for more - details.
-LimitRequestBody
- 0
LimitRequestBody
+ 0
This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a @@ -1252,24 +1286,25 @@ control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks.
-LimitRequestFields
- 100
LimitRequestFields 100
Number is an integer from 0 (meaning unlimited) to 32767. The default value is defined by the compile-time @@ -1293,23 +1328,24 @@ The value should be increased if normal clients see an error response from the server that indicates too many fields were sent in the request.
-LimitRequestFieldsize 8190
LimitRequestFieldsize 8190
LimitRequestLine
- 8190
LimitRequestLine
+ 8190
This directive sets the number of bytes from 0 to the value of the compile-time constant @@ -1374,42 +1410,44 @@ useful for avoiding some forms of denial-of-service attacks. Under normal conditions, the value should not be changed from the default.
-LimitXMLRequestBody
- 1000000
LimitXMLRequestBody 1000000
Limit (in bytes) on maximum size of an XML-based request body.
-The <Location> directive provides for access control
- by URL. It is similar to the <Directory> directive, and starts a
+ by URL. It is similar to the <Directory> directive, and starts a
subsection which is terminated with a </Location>
directive. <Location>
sections are processed
in the order they appear in the configuration file, after the
@@ -1445,10 +1483,10 @@
<Location>
.
The Location
functionality is especially useful
- when combined with the SetHandler
directive. For
- example, to enable status requests, but allow them only from
- browsers at foo.com, you might use:
SetHandler
+ directive. For example, to enable status requests, but allow
+ them only from browsers at foo.com, you might use:
<Location /status> SetHandler server-status @@ -1483,26 +1521,27 @@ Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received -
- -<LocationMatch>
- Syntax: <LocationMatch - regex> ... </LocationMatch>
- Context: server config, virtual - host
- Status: core
- Compatibility: LocationMatch is +
+ +<LocationMatch>
+ Syntax: <LocationMatch + regex> ... </LocationMatch>
+ Context: server config, virtual + host
+ Status: core
+ Compatibility: LocationMatch is only available in Apache 1.3 and later.The <LocationMatch> directive provides for access - control by URL, in an identical manner to <Location>. However, it takes a regular - expression as an argument instead of a simple string. For - example:
+ control by URL, in an identical manner to <Location>. However, it takes a + regular expression as an argument instead of a simple string. + For example:<LocationMatch "/(extra|special)/data">@@ -1513,21 +1552,23 @@ Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received -
- -LogLevel directive
- Syntax: LogLevel level
- Default:LogLevel - warn
- Context: server config, virtual - host
- Status: core
- Compatibility: LogLevel is only +
+ +LogLevel + directive
+ Syntax: LogLevel + level
+ Default:LogLevel + warn
+ Context: server config, virtual + host
+ Status: core
+ Compatibility: LogLevel is only available in 1.3 or later.LogLevel adjusts the verbosity of the messages recorded in @@ -1665,45 +1706,46 @@
Using a level of at least
-crit
is recommended.
+
-MaxKeepAliveRequests +
MaxKeepAliveRequests directive
- Syntax: MaxKeepAliveRequests - number
- Default:MaxKeepAliveRequests - 100
- Context: server config
- Status: core
- Compatibility: Only available in - Apache 1.2 and later. + Syntax: MaxKeepAliveRequests + number
+ Default: +MaxKeepAliveRequests 100
+ Context: server config
+ Status: core
+ Compatibility: Only available + in Apache 1.2 and later.The MaxKeepAliveRequests directive limits the number of - requests allowed per connection when KeepAlive is on. If it is set to + requests allowed per connection when KeepAlive is on. If it is set to "
-0
", unlimited requests will be allowed. We recommend that this setting be kept to a high value for maximum server performance.
+
-NameVirtualHost - directive
+NameVirtualHost directive
- Syntax: NameVirtualHost - addr[:port]
- Context: server config
- Status: core
- Compatibility: NameVirtualHost is - only available in Apache 1.3 and later + Syntax: NameVirtualHost + addr[:port]
+ Context: server config
+ Status: core
+ Compatibility: NameVirtualHost + is only available in Apache 1.3 and laterThe NameVirtualHost directive is a required directive if you want to configure name-based virtual @@ -1740,20 +1782,20 @@ See also: Apache Virtual Host documentation -
+
-Options directive
+Options directive
- Syntax: Options - [+|-]option [[+|-]option] ...
- Context: server config, virtual - host, directory, .htaccess
- Override: Options
- Status: core + Syntax: Options + [+|-]option [[+|-]option] ...
+ Context: server config, virtual + host, directory, .htaccess
+ Override: Options
+ Status: coreThe Options directive controls which server features are available in a particular directory.
@@ -1777,10 +1819,11 @@
<Directory>
sections.<Directory>
sections.For example, without any + and - symbols:
- <Directory /web/docs>
- Options Indexes FollowSymLinks
- </Directory>
- <Directory /web/docs/spec>
- Options Includes
+ <Directory /web/docs>
+ Options Indexes FollowSymLinks
+ </Directory>
+ <Directory /web/docs/spec>
+ Options Includes
</Directory>
then only Includes
will be set for the
@@ -1845,11 +1888,11 @@
Options
directive uses the + and - symbols:
- <Directory /web/docs>
- Options Indexes FollowSymLinks
- </Directory>
- <Directory /web/docs/spec>
- Options +Includes -Indexes
+ <Directory /web/docs>
+ Options Indexes FollowSymLinks
+ </Directory>
+ <Directory /web/docs/spec>
+ Options +Includes -Indexes
</Directory>
then the options FollowSymLinks
and
@@ -1862,18 +1905,20 @@
The default in the absence of any other settings is
All
.
Port 80
Port
+ 80
Number is a number from 0 to 65535; some port numbers (especially below 1024) are reserved for particular @@ -1886,11 +1931,11 @@ confusing in the context of Apache).
:number
then Port
has no effect on what address the server listens at.Port 80 is one of Unix's special ports. All ports numbered below 1024 are reserved for system use, i.e., regular @@ -1915,8 +1960,8 @@ use higher port numbers. To use port 80, you must start the server from the root account. After binding to the port and before accepting requests, Apache will change to a low - privileged user as set by the User directive.
+ privileged user as set by the User directive.If you cannot use port 80, choose any other unused port. Non-root users will have to choose a port number higher than @@ -1926,19 +1971,20 @@ set User to root. If you run the server as root whilst handling connections, your site may be open to a major security attack.
-This directive selects which authenticated users can access a directory. The allowed syntaxes are:
@@ -1965,50 +2011,50 @@ -Require must be accompanied by AuthName and AuthType - directives, and directives such as AuthUserFile and AuthGroupFile (to define +
Require must be accompanied by AuthName and AuthType directives, and directives such + as AuthUserFile and AuthGroupFile (to define users and groups) in order to work correctly. Example:
- AuthType Basic
- AuthName "Restricted Directory"
- AuthUserFile /web/users
- AuthGroupFile /web/groups
- Require group admin
+ AuthType Basic
+ AuthName "Restricted Directory"
+ AuthUserFile /web/users
+ AuthGroupFile /web/groups
+ Require group admin
Access controls which are applied in this way are effective for
all methods. This is what is normally
desired. If you wish to apply access controls only to
specific methods, while leaving other methods unprotected, then
- place the Require
statement into a <Limit> section
+ place the Require
statement into a <Limit> section
- See also Satisfy and mod_access.
-See also Satisfy and mod_access.
+Takes 1 or 2 parameters. The first parameter sets the soft resource limit for all processes and the second parameter sets @@ -2028,27 +2074,28 @@
CPU resource limits are expressed in seconds per process.
-See also RLimitMEM or RLimitNPROC.
-See also RLimitMEM or RLimitNPROC.
+Takes 1 or 2 parameters. The first parameter sets the soft resource limit for all processes and the second parameter sets @@ -2068,27 +2115,28 @@
Memory resource limits are expressed in bytes per process.
-See also RLimitCPU or RLimitNPROC.
-See also RLimitCPU or RLimitNPROC.
+Takes 1 or 2 parameters. The first parameter sets the soft resource limit for all processes and the second parameter sets @@ -2114,22 +2162,23 @@ cannot fork messages in the error_log.
-See also RLimitMEM or RLimitCPU.
-See also RLimitMEM or RLimitCPU.
+Access policy if both Allow
and
@@ -2145,23 +2194,25 @@
password restrict an area, but to let clients from particular
addresses in without prompting for a password.
See also Require and mod_access.
-See also Require and mod_access.
+ScriptInterpreterSource script
ScriptInterpreterSource script
This directive is used to control how Apache 1.3.5 and later finds the interpreter used to run CGI scripts. The default @@ -2169,18 +2220,19 @@ in the script. Setting ScriptInterpreterSource registry will cause the Windows Registry to be searched using the script file extension (e.g., .pl) as a search key.
-The ServerAdmin sets the e-mail address that the server includes in any error messages it returns to the client.
@@ -2193,38 +2245,41 @@ as users do not always mention that they are talking about the server! -The ServerAlias directive sets the alternate names for a - host, for use with name-based virtual hosts.
+ host, for use with name-based virtual + hosts.See also: Apache Virtual Host documentation
-The ServerName directive sets the hostname of the server;
this is used when creating redirection URLs. If it is not
@@ -2238,33 +2293,35 @@
would be used if the canonical (main) name of the actual
machine were simple.example.com
.
-
If you are using name-based virtual hosts, the
- ServerName
inside a <VirtualHost>
section
- specifies what hostname must appear in the request's
+
If you are using name-based virtual hosts,
+ the ServerName
inside a <VirtualHost>
+ section specifies what hostname must appear in the request's
Host:
header to match this virtual host.
See Also:
- DNS Issues
- Apache virtual host documentation
- UseCanonicalName
- NameVirtualHost
- ServerAlias
+
See Also:
+ DNS Issues
+ Apache virtual host
+ documentation
+ UseCanonicalName
+ NameVirtualHost
+ ServerAlias
The ServerPath directive sets the legacy URL pathname for a
host, for use with name-based virtual
@@ -2272,20 +2329,21 @@
See also: Apache
Virtual Host documentation
+
- ServerRoot directive
+ ServerRoot
+ directive
- Syntax: ServerRoot
- directory-path
- Default: ServerRoot
- /usr/local/apache
- Context: server config
- Status: core
+ Syntax: ServerRoot
+ directory-path
+ Default: ServerRoot
+ /usr/local/apache
+ Context: server config
+ Status: core
The ServerRoot directive sets the directory in which the server lives. Typically it will contain the subdirectories @@ -2299,25 +2357,25 @@
See also the security tips for information on how to properly set permissions on the ServerRoot.
-ServerSignature
- Off
ServerSignature
+ Off
The ServerSignature directive allows the configuration of a
trailing footer line under server-generated documents (error
@@ -2325,33 +2383,36 @@
...). The reason why you would want to enable such a footer
line is that in a chain of proxies, the user often has no
possibility to tell which of the chained servers actually
- produced a returned error message.
+ produced a returned error message.
The Off setting, which is the default, suppresses
the error line (and is therefore compatible with the behavior
of Apache-1.2 and below). The On setting simply
- adds a line with the server version number and ServerName of the serving virtual host, and
- the EMail setting additionally creates a "mailto:"
- reference to the ServerAdmin of the
- referenced document.
ServerTokens
- Full
ProductOnly
- keyword is only available in versions later than 1.3.12
+ Syntax: ServerTokens
+ Minimal|ProductOnly|OS|FullServerTokens
+ Full
ProductOnly
keyword is only available in versions
+ later than 1.3.12
This directive controls whether Server response header field which is sent back to clients includes a @@ -2382,21 +2443,22 @@
This setting applies to the entire server, and cannot be enabled or disabled on a virtualhost-by-virtualhost basis.
-Syntax: SetInputFilter
- filter[;filter...]
- Default: none
- Context: directory, files,
- location, .htaccess
- Status: core
Syntax: SetInputFilter
+ filter[;filter...]
+ Default: none
+ Context: directory, files,
+ location, .htaccess
+ Status: core
The SetInputFilter
directive sets the filter or
filters which will process client requests and POST input when
they are received by the server. This is in addition to any
- filters defined elsewhere, including the AddInputFilter
+ filters defined elsewhere, including the AddInputFilter
directive.
If more than one filter is specified, they must be seperated @@ -2449,37 +2512,37 @@
See also the Filters documentation.
-Syntax: SetOutputFilter
- filter [filter] ...
- Default: none
- Context: directory, files,
- location, .htaccess
- Status: core
Syntax: SetOutputFilter
+ filter [filter] ...
+ Default: none
+ Context: directory, files,
+ location, .htaccess
+ Status: core
The SetOutputFilter
directive sets the filters
which will process responses from the server before they are
sent to the client. This is in addition to any filters defined
- elsewhere, including the AddOutputFilter
+ elsewhere, including the AddOutputFilter
directive.
/www/data/
directory for server-side
- includes.
- <Directory /www/data/>
- SetOutputFilter INCLUDES
+ <Directory /www/data/>
+ SetOutputFilter INCLUDES
</Directory>
@@ -2489,19 +2552,20 @@
See also the Filters documentation.
-TimeOut
- 300
TimeOut
+ 300
The TimeOut directive currently defines the amount of time Apache will wait for three things:
@@ -2522,31 +2586,31 @@ necessary in most situations. It is not set any lower by default because there may still be odd places in the code where the timer is not reset when a packet is sent. -UseCanonicalName
- on
UseCanonicalName
+ on
In many situations Apache has to construct a
self-referential URL. That is, a URL which refers back
to the same server. With UseCanonicalName on
(and
- in all versions prior to 1.3) Apache will use the ServerName and Port
+ in all versions prior to 1.3) Apache will use the ServerName and Port
directives to construct a canonical name for the server. This
name is used in all self-referential URLs, and for the values
of SERVER_NAME
and SERVER_PORT
in
@@ -2589,26 +2653,27 @@
SERVER_NAME
to construct self-referential URLs
then it should be just fine.
See also: ServerName, Port
-See also: ServerName, Port
+<VirtualHost> and </VirtualHost> are used to @@ -2628,12 +2693,12 @@ Example:
- <VirtualHost 10.1.2.3>
- ServerAdmin webmaster@host.foo.com
- DocumentRoot /www/docs/host.foo.com
- ServerName host.foo.com
- ErrorLog logs/host.foo.com-error_log
- TransferLog logs/host.foo.com-access_log
+ <VirtualHost 10.1.2.3>
+ ServerAdmin webmaster@host.foo.com
+ DocumentRoot /www/docs/host.foo.com
+ ServerName host.foo.com
+ ErrorLog logs/host.foo.com-error_log
+ TransferLog logs/host.foo.com-access_log
</VirtualHost>
Each VirtualHost must correspond to a different IP address,
@@ -2642,8 +2707,8 @@
accept IP packets for multiple addresses. (If the machine does
not have multiple network interfaces, then this can be
accomplished with the ifconfig alias
command (if
- your OS supports it), or with kernel patches like VIF (for SunOS(TM) 4.1.x)).
+ your OS supports it), or with kernel patches like VIF (for SunOS(TM) 4.1.x)).
The special name _default_
can be specified in
which case this virtual host will match any IP address that is
@@ -2659,24 +2724,25 @@
match all ports on that address. (This is recommended when used
with _default_
.)
SECURITY: See the security tips document for - details on why your security could be compromised if the +
SECURITY: See the security tips document + for details on why your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server.
NOTE: The use of <VirtualHost> does not affect what addresses Apache listens on. You may need to ensure that Apache is listening on the correct - addresses using Listen.
+ addresses using Listen.See also: Apache
- Virtual Host documentation
- See also: Warnings about DNS and Apache
+ Virtual Host documentation
+ See also: Warnings about DNS and
+ Apache
See also: Setting
- which addresses and ports Apache uses
+ which addresses and ports Apache uses
See also: How
Directory, Location and Files sections work for an
explanation of how these different sections are combined when a
diff --git a/docs/manual/mod/directive-dict.html b/docs/manual/mod/directive-dict.html
index 79652bad12..deedf08aca 100644
--- a/docs/manual/mod/directive-dict.html
+++ b/docs/manual/mod/directive-dict.html
@@ -1,13 +1,17 @@
-
-
+
+
+
This indicates the format of the directive as it would appear in a configuration file. This syntax is extremely @@ -145,13 +150,13 @@
If the directive has a default value (i.e., if you omit it from your configuration entirely, the Apache Web server @@ -160,9 +165,9 @@ should say "None". Note that the default listed here is not necessarily the same as the value the directive takes in the default httpd.conf distributed with the server.
-This indicates where in the server's configuration files the directive is legal. It's a comma-separated list of one or more @@ -199,8 +204,8 @@
The directive is only allowed within the designated @@ -217,9 +222,9 @@ httpd.conf file and in .htaccess files, but not within any <Directory> or <VirtualHost> containers.
-This directive attribute indicates which configuration override must be active in order for the directive to be @@ -228,16 +233,17 @@ doesn't permit it to appear in .htaccess files, this attribute should say "Not applicable".
-Overrides are activated by the AllowOverride directive, and apply to a - particular scope (such as a directory) and all descendants, - unless further modified by other AllowOverride - directives at lower levels. The documentation for that - directive also lists the possible override names available.
-Overrides are activated by the AllowOverride directive, and apply + to a particular scope (such as a directory) and all + descendants, unless further modified by other + AllowOverride directives at lower levels. The + documentation for that directive also lists the possible + override names available.
+This indicates how tightly bound into the Apache Web server the directive is; in other words, you may need to recompile the @@ -257,8 +263,9 @@
This quite simply lists the name of the source module which defines the directive.
-If the directive wasn't part of the original Apache version 1 distribution, the version in which it was introduced should @@ -303,9 +311,9 @@ the NCSA HTTPd server, any inconsistencies in behavior between the two should also be mentioned. Otherwise, this attribute should say "No compatibility issues."
-If this directive is eliminated since the Apache version 1 distribution, the directive or option that replaces the diff --git a/docs/manual/mod/directive-dict.html.en b/docs/manual/mod/directive-dict.html.en index 79652bad12..deedf08aca 100644 --- a/docs/manual/mod/directive-dict.html.en +++ b/docs/manual/mod/directive-dict.html.en @@ -1,13 +1,17 @@ - - + + +
+ +This indicates the format of the directive as it would appear in a configuration file. This syntax is extremely @@ -145,13 +150,13 @@
If the directive has a default value (i.e., if you omit it from your configuration entirely, the Apache Web server @@ -160,9 +165,9 @@ should say "None". Note that the default listed here is not necessarily the same as the value the directive takes in the default httpd.conf distributed with the server.
-This indicates where in the server's configuration files the directive is legal. It's a comma-separated list of one or more @@ -199,8 +204,8 @@
The directive is only allowed within the designated @@ -217,9 +222,9 @@ httpd.conf file and in .htaccess files, but not within any <Directory> or <VirtualHost> containers.
-This directive attribute indicates which configuration override must be active in order for the directive to be @@ -228,16 +233,17 @@ doesn't permit it to appear in .htaccess files, this attribute should say "Not applicable".
-Overrides are activated by the AllowOverride directive, and apply to a - particular scope (such as a directory) and all descendants, - unless further modified by other AllowOverride - directives at lower levels. The documentation for that - directive also lists the possible override names available.
-Overrides are activated by the AllowOverride directive, and apply + to a particular scope (such as a directory) and all + descendants, unless further modified by other + AllowOverride directives at lower levels. The + documentation for that directive also lists the possible + override names available.
+This indicates how tightly bound into the Apache Web server the directive is; in other words, you may need to recompile the @@ -257,8 +263,9 @@
This quite simply lists the name of the source module which defines the directive.
-If the directive wasn't part of the original Apache version 1 distribution, the version in which it was introduced should @@ -303,9 +311,9 @@ the NCSA HTTPd server, any inconsistencies in behavior between the two should also be mentioned. Otherwise, this attribute should say "No compatibility issues."
-If this directive is eliminated since the Apache version 1 distribution, the directive or option that replaces the diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index aa21281883..893802b22e 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -1,271 +1,657 @@ - - -
--Each Apache directive available in the standard Apache distribution is -listed here. They are described using a consistent format, and there is -a dictionary -of the terms used in their descriptions available. -
-Each Apache directive available in the standard Apache + distribution is listed here. They are described using a + consistent format, and there is a dictionary of the terms used in their + descriptions available.
+ +This module provides for sending files which contain their own HTTP headers.
-Status: Base
- Source
- File: mod_asis.c
- Module Identifier: asis_module
Status: Base
+ Source File: mod_asis.c
+ Module Identifier:
+ asis_module
- Status: 301 Now where did I leave that URL
- Location: http://xyz.abc.com/foo/bar.html
- Content-type: text/html
-
- <HTML>
- <HEAD>
- <TITLE>Lame excuses'R'us</TITLE>
- </HEAD>
- <BODY>
+ Status: 301 Now where did I leave that URL
+ Location: http://xyz.abc.com/foo/bar.html
+ Content-type: text/html
+
+ <HTML>
+ <HEAD>
+ <TITLE>Lame excuses'R'us</TITLE>
+ </HEAD>
+ <BODY>
<H1>Fred's exceptionally wonderful page has moved
- to
+ to
<A
HREF="http://xyz.abc.com/foo/bar.html">Joe's</A>
- site.
- </H1>
- </BODY>
+ site.
+ </H1>
+ </BODY>
</HTML>