From: Rich Bowen
Date: Fri, 15 Apr 2011 20:13:18 +0000 (+0000)
Subject: The domain is not in fact optional. The cookie is not set if you don't
X-Git-Tag: 2.3.12~48
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0035c438b84acb4753095178811fe7ac96b3c526;p=apache
The domain is not in fact optional. The cookie is not set if you don't
set the domain. (via Matthew Sporleder)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1092798 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/rewrite/flags.xml b/docs/manual/rewrite/flags.xml
index be0cc2339a..58c5321cc1 100644
--- a/docs/manual/rewrite/flags.xml
+++ b/docs/manual/rewrite/flags.xml
@@ -107,19 +107,17 @@ skipped.
CO|cookie
The [CO], or [cookie] flag, allows you to set a cookie when a
particular RewriteRule
-matches. The argument consists of three required fields and five optional
+matches. The argument consists of three required fields and four optional
fields.
The full syntax for the flag, including all attributes, is as
follows:
-[CO=NAME:VALUE:domain:lifetime:path:secure:httponly]
+[CO=NAME:VALUE:DOMAIN:lifetime:path:secure:httponly]
-You must declare a name and value for the cookie to be set.
-
-You may optionally also set the following values:
+You must declare a name, a value, and a domain for the cookie to be set.
- Domain
@@ -129,8 +127,11 @@ such as .example.com
. It must be at least two parts
separated by a dot. That is, it may not be merely .com
or
.net
. Cookies of that kind are forbidden by the cookie
security model.
-- The default value for the domain is the current domain.
+
+You may optionally also set the following values:
+
+
- Lifetime
- The time for which the cookie will persist, in minutes.
- A value of 0 indicates that the cookie will persist only for the