[Zope3-dev] Problems with Zope 3, Virtual Hosting (Apache) and
Cookies
Tres Seaver
tseaver at zope.com
Mon Sep 8 19:54:10 EDT 2003
On Wed, 2003-09-03 at 22:27, Stephan Richter wrote:
> Hello everyone,
>
> after a lot of fruitless hours, I finally figured out why setting cookies does
> not work when using Virtual Hosting with Apache. The problem is that when a
> response is returned to Apache, Apache combs through the headers and removes
> all "Set-Cookie" header entries except the last one, so that only one
> "Set-Cookie" header per Apache response is sent to the browser. I reread the
> corresponding RFC and verified that our generated Cookie Headers follow the
> standard.
>
> You can easily reproduce the bug by installing Apache and put Zope 3 behind
> it. Create a page that generates several cookies and execute it. Then observe
> the HTTP header you got back from Apache and you will notice that there is
> only one "Set-Cookie" entry.
>
> Does anyone have a clue how to address this issue? BTW, I am using
>
> Server version: Apache/1.3.23 (Unix) (Red-Hat/Linux)
> Server built: Jun 19 2002 11:55:23
Known bug with that version of Apache (which is ancient, BTW):
http://collector.zope.org/Zope/267
Upgrade to 1.3.27.
Tres.
--
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the Zope3-dev
mailing list