httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1092799 - in /httpd/httpd/trunk/docs/manual: mod/mod_rewrite.html.en rewrite/flags.html.en
Date Fri, 15 Apr 2011 20:14:15 GMT
Author: rbowen
Date: Fri Apr 15 20:14:15 2011
New Revision: 1092799

URL: http://svn.apache.org/viewvc?rev=1092799&view=rev
Log:
via Matthew Sporleder - domain is required in the CO flag or cookies
aren't set.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en
    httpd/httpd/trunk/docs/manual/rewrite/flags.html.en

Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en?rev=1092799&r1=1092798&r2=1092799&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en Fri Apr 15 20:14:15 2011
@@ -1088,7 +1088,7 @@ cannot use <code>$N</code> in the substi
     <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>

Modified: httpd/httpd/trunk/docs/manual/rewrite/flags.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/flags.html.en?rev=1092799&r1=1092798&r2=1092799&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/flags.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/flags.html.en Fri Apr 15 20:14:15 2011
@@ -115,19 +115,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>
@@ -137,8 +135,11 @@ such as <code>.example.com</code>. It mu
 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>
 <dd>A value of 0 indicates that the cookie will persist only for the



Mime
View raw message