[deployment-guide/comm-rel: 471/727] Updated the AddIconByEncoding directive description.

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


commit f1cc48a98e9ff8da773d22ac92ea11e5d37cb329
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Aug 24 14:30:12 2010 +0200

    Updated the AddIconByEncoding directive description.

 en-US/The_Apache_HTTP_Server.xml |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index c84804b..c5e9ffa 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -278,7 +278,7 @@ httpd (pid 19014) is running...</screen>
             </para>
             <screen>AddDescription "<replaceable>description</replaceable>" <replaceable>pattern</replaceable>...</screen>
             <para>
-              The <replaceable>pattern</replaceable> can be a filename, a file extension, or a wildcard expression.
+              The <replaceable>pattern</replaceable> option can be a filename, a file extension, or a wildcard expression.
             </para>
             <example id="example-apache-httpdconf-adddescription">
               <title>Using the <option>AddDescription</option> directive</title>
@@ -326,7 +326,7 @@ httpd (pid 19014) is running...</screen>
             </para>
             <screen>AddIcon <replaceable>icon</replaceable> <replaceable>pattern</replaceable>...</screen>
             <para>
-              The <replaceable>icon</replaceable> is a path to an existing icon. The <replaceable>pattern</replaceable> can be a filename, a file extension, a wildcard expression, or a special form as described in <xref linkend="table-apache-httpdconf-addicon" />.
+              The <replaceable>icon</replaceable> option is a path to an existing icon. The <replaceable>pattern</replaceable> can be a filename, a file extension, a wildcard expression, or a special form as described in <xref linkend="table-apache-httpdconf-addicon" />.
             </para>
             <table id="table-apache-httpdconf-addicon">
               <title>Available options</title>
@@ -372,21 +372,23 @@ AddIcon /icons/blank.png ^^BLANKICON^^</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>AddIconByEncoding</option></term>
+          <listitem>
+            <para>
+              The <option>AddIconByEncoding</option> directive allows you to specify an icon to be displayed for a particular encoding type in server-generated directory listings. It takes the following form:
+            </para>
+            <screen>AddIconByEncoding <replaceable>icon</replaceable> <replaceable>encoding</replaceable>...</screen>
+            <para>
+              The <replaceable>icon</replaceable> option is a path to an existing icon. The <replaceable>encoding</replaceable> option has to be a valid MIME encoding such as x-compress, x-gzip etc.
+            </para>
+            <example id="example-apache-httpdconf-addiconbyencoding">
+              <title>Using the <option>AddIconByEncoding</option> directive</title>
+              <screen>AddIconByEncoding /icons/compressed.png x-compress x-gzip</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-addiconbyencoding">
-        <title>AddIconByEncoding</title>
-        <indexterm>
-          <primary><command>AddIconByEncoding</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>AddIconByEncoding</command></secondary>
-        </indexterm>
-        <para>
-          This directive names icons which are displayed by files with MIME encoding in server generated directory listings. For example, by default, the Web server shows the <filename>compressed.gif</filename> icon next to MIME encoded x-compress and x-gzip files in server generated directory listings.
-        </para>
-      </formalpara>
       <formalpara id="s2-apache-addiconbytype">
         <title>AddIconByType</title>
         <indexterm>


More information about the docs-commits mailing list