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:41:30 GMT
kess        2003/05/27 14:41:30

  Modified:    docs/manual Tag: APACHE_2_0_BRANCH
                        content-negotiation.html.en content-negotiation.xml
  Log:
  prefer-language is available at 2.0.46 and later [if not, I'll change this
  to 2.0.47 later]
  
  use a running example (capture of subexpressions is avaiable in mod_envif
  at 2.1)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.36.2.6  +4 -3      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.5
  retrieving revision 1.36.2.6
  diff -u -r1.36.2.5 -r1.36.2.6
  --- content-negotiation.html.en	27 May 2003 21:22:20 -0000	1.36.2.5
  +++ content-negotiation.html.en	27 May 2003 21:41:30 -0000	1.36.2.6
  @@ -482,7 +482,7 @@
   
       <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
  +    since Apache 2.0.46 <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
  @@ -490,8 +490,9 @@
       the normal negotiation process applies.</p>
   
       <div class="example"><h3>Example</h3><p><code>
  -      SetEnvIf Cookie "language=(.+)" prefer-language=$1
  -    </code></p></div>
  +      SetEnvIf Cookie "language=en" prefer-language=en
  +      SetEnvIf Cookie "language=fr" prefer-language=fr
  +   </code></p></div>
   
   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif"
/></a></div>
   <div class="section">
  
  
  
  1.1.2.7   +4 -3      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.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- content-negotiation.xml	27 May 2003 21:22:21 -0000	1.1.2.6
  +++ content-negotiation.xml	27 May 2003 21:41:30 -0000	1.1.2.7
  @@ -468,7 +468,7 @@
   
       <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
  +    since Apache 2.0.46 <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
  @@ -476,8 +476,9 @@
       the normal negotiation process applies.</p>
   
       <example><title>Example</title>
  -      SetEnvIf Cookie "language=(.+)" prefer-language=$1
  -    </example>
  +      SetEnvIf Cookie "language=en" prefer-language=en
  +      SetEnvIf Cookie "language=fr" prefer-language=fr
  +   </example>
   </section>
   </section>
   
  
  
  

Mime
View raw message