[deployment-guide/comm-rel: 467/727] Updated the AddEncoding directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:04:07 UTC 2010
commit f3ecd63dd0af5f402ff6caf855518a6fd468b180
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 24 13:11:02 2010 +0200
Updated the AddEncoding 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 fd7f6b5..ea55ab6 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -286,21 +286,23 @@ httpd (pid 19014) is running...</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>AddEncoding</option></term>
+ <listitem>
+ <para>
+ The <option>AddEncoding</option> directive allows you to specify an encoding type for a particular filename extension. This way, you can instruct some web browsers to uncompress certain file types as they are downloaded. The directive takes the following form:
+ </para>
+ <screen>AddEncoding <replaceable>encoding</replaceable> <replaceable>file-extension</replaceable>...</screen>
+ <para>
+ The <replaceable>encoding</replaceable> option has to be a valid MIME encoding such as <literal>x-compress</literal>, <literal>x-gzip</literal> etc.
+ </para>
+ <example id="example-apache-httpdconf-addencoding">
+ <title>Using the <option>AddEncoding</option> directive</title>
+ <screen>AddEncoding x-gzip .gz .tgz</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
- <formalpara id="s2-apache-addencoding">
- <title>AddEncoding</title>
- <indexterm>
- <primary><command>AddEncoding</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>AddEncoding</command></secondary>
- </indexterm>
- <para>
- <command>AddEncoding</command> names file name extensions which should specify a particular encoding type. <command>AddEncoding</command> can also be used to instruct some browsers to uncompress certain files as they are downloaded.
- </para>
- </formalpara>
<formalpara id="s2-apache-addhandler">
<title>AddHandler</title>
<indexterm>
More information about the docs-commits
mailing list