[deployment-guide/comm-rel: 480/727] Updated the Allow directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:05:13 UTC 2010


commit 90019dcc8222020afa68767cb38ba25739a2698f
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Wed Aug 25 13:13:17 2010 +0200

    Updated the Allow directive description.

 en-US/The_Apache_HTTP_Server.xml |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index e4109b3..7b94210 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -459,21 +459,23 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>Allow</option></term>
+          <listitem>
+            <para>
+              The <option>Allow</option> directive allows you to specify which clients can access a given directory. It takes the following form:
+            </para>
+            <screen>Allow from <replaceable>client</replaceable>...</screen>
+            <para>
+              The <replaceable>client</replaceable> option can be either a domain name, an IP address (both full and partial), a <replaceable>network</replaceable>/<replaceable>netmask</replaceable> pair, or <literal>all</literal> for all clients.
+            </para>
+            <example id="example-apache-httpdconf-allow">
+              <title>Using the <option>Allow</option> directive</title>
+              <screen>Allow from 192.168.1.0/255.255.255.0</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-allow">
-        <title>Allow</title>
-        <indexterm>
-          <primary><command>Allow</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>Allow</command></secondary>
-        </indexterm>
-        <para>
-          <command>Allow</command> specifies which client can access a given directory. The client can be <command>all</command>, a domain name, an IP address, a partial IP address, a network/netmask pair, and so on. The <command>DocumentRoot</command> directory is configured to <command>Allow</command> requests from <command>all</command>, meaning everyone has access.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-allowoverride">
         <title>AllowOverride</title>
         <indexterm>


More information about the docs-commits mailing list