[deployment-guide/comm-rel: 520/727] Updated the LanguagePriority directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:08:39 UTC 2010
commit 08e45794880c7493e36d322bc8be2bbabc824bbe
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 31 10:53:01 2010 +0200
Updated the LanguagePriority directive description.
en-US/The_Apache_HTTP_Server.xml | 33 +++++++++++++++++++--------------
1 files changed, 19 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index dabfeb8..7508cad 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -1167,6 +1167,25 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>LanguagePriority</option></term>
+ <listitem>
+ <para>
+ The <option>LanguagePriority</option> directive allows you to customize the precedence of languages. It takes the following form:
+ </para>
+ <screen>LanguagePriority <replaceable>language</replaceable>...</screen>
+ <para>
+ The <replaceable>language</replaceable> has to be a valide MIME language such as <literal>cs</literal>, <literal>en</literal>, or <literal>fr</literal>.
+ </para>
+ <para>
+ This directive is especially useful for web servers that serve content in multiple languages based on the client's language settings.
+ </para>
+ <example id="example-apache-httpdconf-languagepriority">
+ <title>Using the <option>LanguagePriority</option> directive</title>
+ <screen>LanguagePriority sk cs en</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
<formalpara id="s2-apache-indexoptions">
<title>IndexOptions</title>
@@ -1194,20 +1213,6 @@ ErrorDocument 404 /404-not_found.html</screen>
<para>
<command>IndexOptions</command> has a number of other parameters which can be set to control the appearance of server generated directories. The <command>IconHeight</command> and <command>IconWidth</command> parameters require the server to include HTML <command>HEIGHT</command> and <command>WIDTH</command> tags for the icons in server generated webpages. The <command>IconsAreLinks</command> parameter combines the graphical icon with the HTML link anchor, which contains the URL link target.
</para>
- <formalpara id="s2-apache-languagepriority">
- <title>LanguagePriority</title>
- <indexterm>
- <primary><command>LanguagePriority</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>LanguagePriority</command></secondary>
- </indexterm>
- <para>
- <command>LanguagePriority</command> sets precedence for different languages in case the client Web browser has no language preference set.
- </para>
- </formalpara>
<formalpara id="s2-apache-listen">
<title>Listen</title>
<indexterm>
More information about the docs-commits
mailing list