]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
via Matthew Sporleder - the domain argument is required in the CO flag,
authorRich Bowen <rbowen@apache.org>
Fri, 15 Apr 2011 20:17:38 +0000 (20:17 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 15 Apr 2011 20:17:38 +0000 (20:17 +0000)
or the cookie doesn't get set.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1092802 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/rewriteguide.xml.ko
docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml
docs/manual/rewrite/flags.html.en
docs/manual/rewrite/flags.xml

index 2f9ddea66c6d7fd335c3fe17a63d22f846746896..92ed15f6eb0c36036d0f44eeb6603715bb4e5557 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 122770:805050 (outdated) -->
+<!-- English Revision: 122770:1090789 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index d72297c9685204b5027283c9825756d118288446..17e26d4a25a157fac5be1c59ce3711797b60f993 100644 (file)
@@ -1311,7 +1311,7 @@ cannot use <code>$N</code> in the substitution string!
     <tr>
         <td>cookie|CO=<em>NAME</em>:<em>VAL</em></td>
         <td>Sets a cookie in the client browser. Full syntax is: 
-        CO=<em>NAME</em>:<em>VAL</em>[:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>[:<em>secure</em>[:<em>httponly</em>]]]]] <em><a href="../rewrite/flags.html#flag_co">details ...</a></em>
+        CO=<em>NAME</em>:<em>VAL</em>:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>[:<em>secure</em>[:<em>httponly</em>]]]] <em><a href="../rewrite/flags.html#flag_co">details ...</a></em>
         </td>
     </tr>
     <tr>
index a11f4fbc9ff58e97c271d9bbc2636334ac3b5f9d..63e7337da3d0757d868f2f08002d76e4840727c0 100644 (file)
@@ -1331,7 +1331,7 @@ cannot use <code>$N</code> in the substitution string!
     <tr>
         <td>cookie|CO=<em>NAME</em>:<em>VAL</em></td>
         <td>Sets a cookie in the client browser. Full syntax is: 
-        CO=<em>NAME</em>:<em>VAL</em>[:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>[:<em>secure</em>[:<em>httponly</em>]]]]] <em><a href="../rewrite/flags.html#flag_co">details ...</a></em>
+        CO=<em>NAME</em>:<em>VAL</em>:<em>domain</em>[:<em>lifetime</em>[:<em>path</em>[:<em>secure</em>[:<em>httponly</em>]]]] <em><a href="../rewrite/flags.html#flag_co">details ...</a></em>
         </td>
     </tr>
     <tr>
index 4d22a5a4e4596e6602b9551ab7ffb2996d845d98..0e16b2d1c0b98a532c793f38c9c56b22e86adb12 100644 (file)
@@ -113,19 +113,17 @@ skipped.</p>
 <h2><a name="flag_co" id="flag_co">CO|cookie</a></h2>
 <p>The [CO], or [cookie] flag, allows you to set a cookie when a
 particular <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>
-matches. The argument consists of three required fields and five optional
+matches. The argument consists of three required fields and four optional
 fields.</p>
 
 <p>The full syntax for the flag, including all attributes, is as
 follows:</p>
 
 <div class="example"><p><code>
-[CO=NAME:VALUE:domain:lifetime:path:secure:httponly]
+[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]
 </code></p></div>
 
-<p>You must declare a name and value for the cookie to be set.</p>
-
-<p>You may optionally also set the following values:</p>
+<p>You must declare a name, a value, and a domain for the cookie to be set.</p>
 
 <dl>
 <dt>Domain</dt>
@@ -135,7 +133,11 @@ such as <code>.example.com</code>. It must be at least two parts
 separated by a dot. That is, it may not be merely <code>.com</code> or
 <code>.net</code>. Cookies of that kind are forbidden by the cookie
 security model.</dd>
-<dd>The default value for the domain is the current domain.</dd>
+</dl>
+
+<p>You may optionally also set the following values:</p>
+
+<dl>
 
 <dt>Lifetime</dt>
 <dd>The time for which the cookie will persist, in minutes.</dd>
index 89052788e1f02c01f50f8da06fe73307e973f520..79b5c3e0e9be9d972c6372d694fc436242a3ae68 100644 (file)
@@ -107,19 +107,17 @@ skipped.</p>
 <section id="flag_co"><title>CO|cookie</title>
 <p>The [CO], or [cookie] flag, allows you to set a cookie when a
 particular <directive module="mod_rewrite">RewriteRule</directive>
-matches. The argument consists of three required fields and five optional
+matches. The argument consists of three required fields and four optional
 fields.</p>
 
 <p>The full syntax for the flag, including all attributes, is as
 follows:</p>
 
 <example>
-[CO=NAME:VALUE:domain:lifetime:path:secure:httponly]
+[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]
 </example>
 
-<p>You must declare a name and value for the cookie to be set.</p>
-
-<p>You may optionally also set the following values:</p>
+<p>You must declare a name, a value, and a domain for the cookie to be set.</p>
 
 <dl>
 <dt>Domain</dt>
@@ -129,7 +127,11 @@ such as <code>.example.com</code>. It must be at least two parts
 separated by a dot. That is, it may not be merely <code>.com</code> or
 <code>.net</code>. Cookies of that kind are forbidden by the cookie
 security model.</dd>
-<dd>The default value for the domain is the current domain.</dd>
+</dl>
+
+<p>You may optionally also set the following values:</p>
+
+<dl>
 
 <dt>Lifetime</dt>
 <dd>The time for which the cookie will persist, in minutes.</dd>