httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject cvs commit: httpd-2.0/docs/manual content-negotiation.html.en content-negotiation.xml
Date Tue, 27 May 2003 21:22:21 GMT
kess        2003/05/27 14:22:21

  Modified:    docs/manual Tag: APACHE_2_0_BRANCH
                        content-negotiation.html.en content-negotiation.xml
  Log:
  document prefer-language
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.36.2.5  +13 -0     httpd-2.0/docs/manual/content-negotiation.html.en
  
  Index: content-negotiation.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/content-negotiation.html.en,v
  retrieving revision 1.36.2.4
  retrieving revision 1.36.2.5
  diff -u -r1.36.2.4 -r1.36.2.5
  --- content-negotiation.html.en	23 Apr 2003 22:43:40 -0000	1.36.2.4
  +++ content-negotiation.html.en	27 May 2003 21:22:20 -0000	1.36.2.5
  @@ -480,6 +480,19 @@
       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 <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
recognizes
  +    the <a href="env.html">environment variable</a>
  +    <code>prefer-language</code>. If it exists and contains an
  +    appropriate language tag, <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
will
  +    try to select a matching variant. If there's no such variant,
  +    the normal negotiation process applies.</p>
  +
  +    <div class="example"><h3>Example</h3><p><code>
  +      SetEnvIf Cookie "language=(.+)" prefer-language=$1
  +    </code></p></div>
  +
   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif"
/></a></div>
   <div class="section">
   <h2><a name="extensions" id="extensions">Extensions to Transparent Content
  
  
  
  1.1.2.6   +13 -0     httpd-2.0/docs/manual/content-negotiation.xml
  
  Index: content-negotiation.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/content-negotiation.xml,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- content-negotiation.xml	23 Apr 2003 22:43:40 -0000	1.1.2.5
  +++ content-negotiation.xml	27 May 2003 21:22:21 -0000	1.1.2.6
  @@ -465,6 +465,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>
   
  
  
  

Mime
View raw message