[Zope-CMF] Apahce rewrite into CMF.

Florent Guillaume fg@nuxeo.com
Fri, 22 Feb 2002 18:56:51 +0000 (UTC)


Don't use RESPONSE.setHeader('Set-Cookie',...) by hand, but use
RESPONSE.setCookie('__ac_name', ...) which does the right thing
(merges cookies into one header).

Florent

ycheng  <ycheng@sinica.edu.tw> wrote:
> Hi,
> 
>    I User apache rewrite to redirect http request to zope / CMF Site
> The Zope works fine, but CMF fail. The following is my system:
> 
> 1. apache + mod_rewrite + mod_proxy
> 2. zope 2.5.0
> 3. CMF 1.3
> 
> I use Virtual Host Monster object, too.
> 
> In rewrite rule of apache, I user [P].
> 
> The cookie CMF set are __ac_name and _ac.
> But CMF set them in two line of "Set-Cookie:"
> in http response, but mod_proxy in apache seems to
> forget all except the last one.
> 
> Is anyone have such problem ?
> 
> Thank you.
> 
> Yuan-Chen Cheng
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com