You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Vadim Zaliva <lo...@crocodile.org> on 1999/09/13 21:46:09 UTC

mod_usertrack/5006: Cookie can be set only for host

>Number:         5006
>Category:       mod_usertrack
>Synopsis:       Cookie can be set only for host
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep 13 12:50:01 PDT 1999
>Last-Modified:
>Originator:     lord@crocodile.org
>Organization:
apache
>Release:        1.3
>Environment:
Redhat Linux 6, egcs-2.91.66
>Description:
Now mod_usertrack sets cookie only for host
which is running apache.

However in some configurations, when you run cluster
of apache servers serving different sites under same
domain (for example: dev.apache.org, bugs.apache.org, www.apache.org)
it is desirable to preserve cookie information between servers.
>How-To-Repeat:
To achive that, I've developed patch:

ftp://ftp.crocodile.org/pub/apache-patches/mod_usertrack.cookie_domain.patch

Which adds additional keyword 'CookieDomain' which
controls for what domain cookie should be set.
In example above, it should be set to '.apache.org'.

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]