[deployment-guide/comm-rel: 499/727] Updated the Deny directive description.

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


commit 5951f367f5a4866014a669b6b9794f1820db7fa2
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Aug 26 11:20:14 2010 +0200

    Updated the Deny directive description.
    
    So many directives, so many options... Will this pain ever end?

 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 08467bb..2429661 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -820,21 +820,23 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>Deny</option></term>
+          <listitem>
+            <para>
+              The <option>Deny</option> directive allows you to specify which clients are denied access to a given directory. It takes the following form: 
+            </para>
+            <screen>Deny 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-deny">
+              <title>Using the <option>Deny</option> directive</title>
+              <screen>Deny from 192.168.1.1</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-deny">
-        <title>Deny</title>
-        <indexterm>
-          <primary><command>Deny</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>Deny</command></secondary>
-        </indexterm>
-        <para>
-          <command>Deny</command> works similar to <command>Allow</command>, except it specifies who is denied access. The <command>DocumentRoot</command> is not configured to <command>Deny</command> requests from anyone by default.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-directory">
         <title>Directory</title>
         <indexterm>


More information about the docs-commits mailing list