[deployment-guide/comm-rel: 530/727] Updated the Order directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:09:30 UTC 2010
commit 6d4e48cc2757eb91f65324ae3f51f18e39d8ef2b
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 31 16:47:51 2010 +0200
Updated the Order directive description.
en-US/The_Apache_HTTP_Server.xml | 65 +++++++++++++++++++++++++++++--------
1 files changed, 51 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 6fd5155..0335ea4 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -1570,6 +1570,57 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>Order</option></term>
+ <listitem>
+ <para>
+ The <option>Order</option> directive allows you to specify the order in which the <option>Allow</option> and <option>Deny</option> directives are evaluated. It takes the following form:
+ </para>
+ <screen>Order <replaceable>option</replaceable></screen>
+ <para>
+ The <replaceable>option</replaceable> has to be a valid keyword as described in <xref linkend="table-apache-httpdconf-order" />. The default option is <option>allow,deny</option>.
+ </para>
+ <table id="table-apache-httpdconf-order">
+ <title>Available <option>Order</option> options</title>
+ <tgroup cols="2">
+ <colspec colname="option" colnum="1" colwidth="20*" />
+ <colspec colname="description" colnum="2" colwidth="60*" />
+ <thead>
+ <row>
+ <entry>
+ Option
+ </entry>
+ <entry>
+ Description
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <option>allow,deny</option>
+ </entry>
+ <entry>
+ <option>Allow</option> directives are evaluated first.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>deny,allow</option>
+ </entry>
+ <entry>
+ <option>Deny</option> directives are evaluated first.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <example id="example-apache-httpdconf-order">
+ <title>Using the <option>Order</option> directive</title>
+ <screen>Order allow,deny</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
<formalpara id="s2-apache-indexoptions">
<title>IndexOptions</title>
@@ -1597,20 +1648,6 @@ ErrorDocument 404 /404-not_found.html</screen>
<para>
<command>IndexOptions</command> has a number of other parameters which can be set to control the appearance of server generated directories. The <command>IconHeight</command> and <command>IconWidth</command> parameters require the server to include HTML <command>HEIGHT</command> and <command>WIDTH</command> tags for the icons in server generated webpages. The <command>IconsAreLinks</command> parameter combines the graphical icon with the HTML link anchor, which contains the URL link target.
</para>
- <formalpara id="s2-apache-order">
- <title>Order</title>
- <indexterm>
- <primary><command>Order</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>Order</command></secondary>
- </indexterm>
- <para>
- The <command>Order</command> directive controls the order in which <command>allow</command> and <command>deny</command> directives are evaluated. The server is configured to evaluate the <command>Allow</command> directives before the <command>Deny</command> directives for the <command>DocumentRoot</command> directory.
- </para>
- </formalpara>
<formalpara id="s2-apache-pidfile">
<title>PidFile</title>
<indexterm>
More information about the docs-commits
mailing list