[deployment-guide/comm-rel: 466/727] Updated the AddDescription directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:04:02 UTC 2010
commit ff46bad9aee434848bbf969b0e4eeb09aaf45d65
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 24 12:17:02 2010 +0200
Updated the AddDescription 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 4cc3e10..fd7f6b5 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -270,21 +270,23 @@ httpd (pid 19014) is running...</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>AddDescription</option></term>
+ <listitem>
+ <para>
+ The <option>AddDescription</option> directive allows you to specify a short description of a file to be displayed in server-generated directory listings. It takes the following form:
+ </para>
+ <screen>AddDescription "<replaceable>description</replaceable>" <replaceable>pattern</replaceable></screen>
+ <para>
+ The <replaceable>pattern</replaceable> can be either a full filename, or a file extension. You can also use common wildcards.
+ </para>
+ <example id="example-apache-httpdconf-adddescription">
+ <title>Using the <option>AddDescription</option> directive</title>
+ <screen>AddDescription "GZIP compressed tar archive" .tgz</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
- <formalpara id="s2-apache-adddescription">
- <title>AddDescription</title>
- <indexterm>
- <primary><command>AddDescription</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>AddDescription</command></secondary>
- </indexterm>
- <para>
- When using <command>FancyIndexing</command> as an <command>IndexOptions</command> parameter, the <command>AddDescription</command> directive can be used to display user-specified descriptions for certain files or file types in a server generated directory listing. The <command>AddDescription</command> directive supports listing specific files, wildcard expressions, or file extensions.
- </para>
- </formalpara>
<formalpara id="s2-apache-addencoding">
<title>AddEncoding</title>
<indexterm>
More information about the docs-commits
mailing list