[deployment-guide/comm-rel: 497/727] Updated the DefaultIcon directive description.

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


commit 861860b660de274daf4fb94aa08fe3d83b91dd44
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Aug 26 10:55:29 2010 +0200

    Updated the DefaultIcon 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 3854fb3..a89d401 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -788,21 +788,23 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>DefaultIcon</option></term>
+          <listitem>
+            <para>
+              The <option>DefaultIcon</option> directive allows you to specify an icon to be displayed for a file in server-generated directory listings when no other icon is associated with it. It takes the following form:
+            </para>
+            <screen>DefaultIcon <replaceable>icon</replaceable></screen>
+            <para>
+              The <replaceable>icon</replaceable> option is a path to an existing icon (that is, <filename>/icons/unknown.gif</filename> by default).
+            </para>
+            <example id="example-apache-httpdconf-defaulticon">
+              <title>Using the <option>DefaultIcon</option> directive</title>
+              <screen>DefaultIcon /icons/unknown.png</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-defaulticon">
-        <title>DefaultIcon</title>
-        <indexterm>
-          <primary><command>DefaultIcon</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>DefaultIcon</command></secondary>
-        </indexterm>
-        <para>
-          <command>DefaultIcon</command> specifies the icon displayed in server generated directory listings for files which have no other icon specified. The <filename>unknown.gif</filename> image file is the default.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-defaulttype">
         <title>DefaultType</title>
         <indexterm>


More information about the docs-commits mailing list