summaryrefslogtreecommitdiff
path: root/docs/manual/content-negotiation.xml
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2003-02-22 22:20:21 +0000
committerAndré Malo <nd@apache.org>2003-02-22 22:20:21 +0000
commit0dec004e407353cec7105da2f368220ecd7e9d27 (patch)
tree660a6006578e269a6b3ec178e2e419fdb4b703eb /docs/manual/content-negotiation.xml
parent3e6cf15733e3d4fd32ab7f601792ecd3f9e30a4a (diff)
downloadhttpd-0dec004e407353cec7105da2f368220ecd7e9d27.tar.gz
document new features of setenvif and mod_negotiation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/content-negotiation.xml')
-rw-r--r--docs/manual/content-negotiation.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/manual/content-negotiation.xml b/docs/manual/content-negotiation.xml
index d5f287d890..06a563b5dc 100644
--- a/docs/manual/content-negotiation.xml
+++ b/docs/manual/content-negotiation.xml
@@ -469,6 +469,19 @@
This is necessary to maintain compliance with the HTTP/1.1
specification and to work effectively with properly configured
clients.</p>
+
+ <p>In order to support advanced techniques (such as Cookies or
+ special URL-paths) to determine the user's preferred language,
+ since Apache 2.1 <module>mod_negotiation</module> recognizes
+ the <a href="env.html">environment variable</a>
+ <code>prefer-language</code>. If it exists and contains an
+ appropriate language tag, <module>mod_negotiation</module> will
+ try to select a matching variant. If there's no such variant,
+ the normal negotiation process applies.</p>
+
+ <example><title>Example</title>
+ SetEnvIf Cookie "language=(.+)" prefer-language=$1
+ </example>
</section>
</section>