directive-dict.html revision b1f2458b99bd740bf64fd601b884af1c7ac4e445
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive<HTML>
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive <HEAD>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <TITLE>Definitions of terms used to describe Apache directives
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive </TITLE>
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive </HEAD>
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive <BODY
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive BGCOLOR="#FFFFFF"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd TEXT="#000000"
8a75fe091731dcfd6581bd8a2423ba654b4e8e17nd LINK="#0000FF"
1506e77ef38e9fed0fc0b180ee505b6a02ca98f3slive VLINK="#000080"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ALINK="#FF0000"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd >
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd<!--#include virtual="header.html" -->
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <H1 ALIGN="CENTER">Terms Used to Describe Apache Directives</H1>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd Each Apache configuration directive is described using a common format
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd that looks like this:
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DD><A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Syntax"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Syntax:</STRONG></A> <EM>directive-name</EM> <EM>some args</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Default"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Default:</STRONG></A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <SAMP><EM>directive-name default-value</EM></SAMP>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Context"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Context:</STRONG></A> <EM>context-list</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
aedd0bf93c729eb723b1eeffccf46bf0117ff0ederikabele HREF="#Override"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Override:</STRONG></A> <EM>override</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Status"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Status:</STRONG></A> <EM>status</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Module"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Module:</STRONG></A> <EM>module-name</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <BR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <A
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd HREF="#Compatibility"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd REL="Help"
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd ><STRONG>Compatibility:</STRONG></A> <EM>compatibility notes</EM>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DD>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd Each of the directive's attributes, complete with possible values
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd where possible, are described in this document.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <H2>Directive Terms</H2>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <UL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Syntax">Syntax</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Default">Default</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Context">Context</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
89ccb0f86491cc768e39f5c3c95a23f45a81eb3ckess <LI><A HREF="#Override">Override</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Status">Status</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Module">Module</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <LI><A HREF="#Compatibility">Compatibility</A>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </LI>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </UL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <HR>
89ccb0f86491cc768e39f5c3c95a23f45a81eb3ckess <H2><A NAME="Syntax">Syntax</A></H2>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd This indicates the format of the directive as it would appear in a
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd configuration file. This syntax is extremely directive-specific, so
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd refer to the text of the directive's description for details.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <HR>
199a8ee5984e3708982fab1ba6ebb0a5feaea90cnd <H2><A NAME="Default">Default</A></H2>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd If the directive has a default value (<EM>i.e.</EM>, if you omit it
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd from your configuration entirely, the Apache Web server will behave as
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd though you set it to a particular value), it is described here. If
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd there is no default value, this section should say
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd &quot;<EM>None</EM>&quot;.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <HR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <H2><A NAME="Context">Context</A></H2>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd This indicates where in the server's configuration files the directive
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd is legal. It's a comma-separated list of one or more of the following
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd values:
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DT><STRONG>server config</STRONG>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DT>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DD>This means that the directive may be used in the server
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd configuration files (<EM>e.g.</EM>, <SAMP>httpd.conf</SAMP>,
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <SAMP>srm.conf</SAMP>, and <SAMP>access.conf</SAMP>), but
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <STRONG>not</STRONG> within any <SAMP>&lt;VirtualHost&gt;</SAMP> or
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd &lt;Directory&gt; containers. It is not allowed in
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <SAMP>.htaccess</SAMP> files at all.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DD>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DT><STRONG>virtual host</STRONG>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DT>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DD>This context means that the directive may appear inside
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <SAMP>&lt;VirtualHost&gt;</SAMP> containers in the server
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd configuration files.
8af1f06ba59fdda01b4a5c2fea560c2bf0569addslive <P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </DD>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <DT><STRONG>directory</STRONG>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </DT>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <DD>A directive marked as being valid in this context may be used
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz inside <SAMP>&lt;Directory&gt;</SAMP>,
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <SAMP>&lt;Location&gt;</SAMP>, and <SAMP>&lt;Files&gt;</SAMP>
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz containers in the server configuration files, subject to the
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz restrictions outlined in <A HREF="/sections.html">How Directory,
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz Location and Files sections work</A>.
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd <P>
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz </P>
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd </DD>
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz <DT><STRONG>.htaccess</STRONG>
1f53e295ebd19aed1767d12da7abfab9936c148cjerenkrantz </DT>
35ffb30f57f777dbf3f17c5a5ddf706559942c16nd <DD>If a directive is valid in this context, it means that it can
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd appear inside <EM>per</EM>-directory <SAMP>.htaccess</SAMP> files.
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd It may not be processed, though depending upon the
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <A
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd HREF="#Override"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd REL="Help"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd >overrides</A>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd currently active.
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <P>
d1e705efc6b288edbe466fd1af69d228f508361end </P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </DD>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </DL>
bbcbf978a3074512c627c797fedcb30eeab7b39dslive <P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd The directive is <EM>only</EM> allowed within the designated context;
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd if you try to use it elsewhere, you'll get a configuration error that
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd will either prevent the server from handling requests in that context
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd correctly, or will keep the server from operating at all --
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <EM>i.e.</EM>, the server won't even start.
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd The valid locations for the directive are actually the result of a
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd Boolean OR of all of the listed contexts. In other words, a directive
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd that is marked as being valid in &quot;<SAMP>server config,
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd .htaccess</SAMP>&quot; can be used in the <SAMP>httpd.conf</SAMP> file
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd and in <SAMP>.htaccess</SAMP> files, but not within any
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd &lt;Directory&gt; or &lt;VirtualHost&gt; containers.
27c043596ef154c881a7d572c65d32cbf537685cnd </P>
bbcbf978a3074512c627c797fedcb30eeab7b39dslive
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <HR>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <H2><A NAME="Override">Override</A></H2>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd This directive attribute indicates which configuration override must
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd be active in order for the directive to be processed when it appears
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd in a <SAMP>.htaccess</SAMP> file. If the directive's
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <A
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd HREF="#Context"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd REL="Help"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd >context</A>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd doesn't permit it to appear in <SAMP>.htaccess</SAMP> files, this
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd attribute should say &quot;<EM>Not applicable</EM>&quot;.
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd </P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <P>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd Overrides are activated by the
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <A
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd HREF="core.html#allowoverride"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd REL="Help"
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd ><SAMP>AllowOverride</SAMP></A>
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd directive, and apply to a particular scope (such as a directory) and
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd all descendants, unless further modified by other
8a72c24379e10c3f3d0dfe352bf15e45ee65c179nd <SAMP>AllowOverride</SAMP> directives at lower levels. The
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd documentation for that directive also lists the possible override
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd names available.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <HR>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <H2><A NAME="Status">Status</A></H2>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd This indicates how tightly bound into the Apache Web server the
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd directive is; in other words, you may need to recompile the server
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd with an enhanced set of modules in order to gain access to the
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd directive and its functionality. Possible values for this attribute
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd are:
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DL>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DT><STRONG>Core</STRONG>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DT>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DD>If a directive is listed as having &quot;Core&quot; status, that
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd means it is part of the innermost portions of the Apache Web server,
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd and is always available.
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </P>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd </DD>
02b39e6d8d0bf5fc0014bb1b4826b05db879ddafnd <DT><STRONG>MPM</STRONG>
f46a61fedb6c867aaa1ebad55222adce7d9c95f6kess </DT>
<DD>A directive labeled as having &quot;MPM&quot; status is
provided by a <a href="/mpm.html">Multi-Processing Module</a>.
This type of directive will be available if and only if you are
using one of the MPMs lised on the <a href="#Module">Module</a>
line of the directive definition.
<P>
</P>
</DD>
<DT><STRONG>Base</STRONG>
</DT>
<DD>A directive labeled as having &quot;Base&quot; status is
supported by one of the standard Apache modules which is compiled
into the server by default, and is therefore normally available
unless you've taken steps to remove the module from your configuration.
<P>
</P>
</DD>
<DT><STRONG>Extension</STRONG>
</DT>
<DD>A directive with &quot;Extension&quot; status is provided by one
of the modules included with the Apache server kit, but the module
isn't normally compiled into the server. To enable the directive
and its functionality, you will need to change the server build
configuration files and re-compile Apache.
<P>
</P>
</DD>
<DT><STRONG>Experimental</STRONG>
</DT>
<DD>&quot;Experimental&quot; status indicates that the directive is
available as part of the Apache kit, but you're on your own if you
try to use it. The directive is being documented for completeness,
and is not necessarily supported. The module which provides the
directive may or may not be compiled in by default; check the top of
the page which describes the directive and its module to see if it
remarks on the availability.
<P>
</P>
</DD>
</DL>
<HR>
<H2><A NAME="Module">Module</A></H2>
<P>
This quite simply lists the name of the source module which defines
the directive.
</P>
<HR>
<H2><A NAME="Compatibility">Compatibility</A></H2>
<P>
If the directive wasn't part of the original Apache version 1
distribution, the version in which it was introduced should be listed
here. If the directive has the same name as one from the NCSA HTTPd
server, any inconsistencies in behaviour between the two should also
be mentioned. Otherwise, this attribute should say &quot;<EM>No
compatibility issues.</EM>&quot;
</P>
<!--#include virtual="footer.html" -->
</BODY>
</HTML>