[Zope-dev] 2.7.0 corrupt Data.fs

2004-02-13 Thread Thomas Anderson
I'm seeing changes to the ZODB getting lost on reboot. I think it's
because there are no fsync() calls being issued by Zope or even by
zopectl on stopping Zope but I can't be sure. I'm using
/instance/bin/zopectl {start|stop} for controlling Zope.

I added a "sync" command to my /etc/init.d/umountfs script (Debian
Woody) and this seems to have fixed the problem. I know postgresql 
syncs to disk for every transaction by default, does Zope?

Tom


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] https with zope 2.7

2004-02-13 Thread Thomas Anderson
That was easy.

To get Zope 2.7 working behind the Pound SSL proxy: 

 
HTTPS ON
 



On Fri, 2004-02-13 at 01:06, Thomas Anderson wrote:
> A fairy clean way did exist in 2.6.x to get zope to generate "https:"
> instead of "http" in self referencing URLs, using Pound, and without
> standing on one leg and shaking a rattle at apache mod_proxy / rewrite.
> 
> http://mail.zope.org/pipermail/zope/2004-February/thread.html#146614
> 
> The magic in z2.py happened by adding a new HTTPS server with:
> 
> +try:
> +del HTTPS_ENV['HTTP']
> +except KeyError:
> +pass
> +HTTPS_ENV['HTTPS']='ON'
> 
> I'm not seeing an easy way to achieve the same in Zope 2.7, or perhaps
> I'm just not as familiar with the code yet. Could someone point me in
> the right direction??
> 
> Tom
> 
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] https with zope 2.7

2004-02-12 Thread Thomas Anderson
A fairy clean way did exist in 2.6.x to get zope to generate "https:"
instead of "http" in self referencing URLs, using Pound, and without
standing on one leg and shaking a rattle at apache mod_proxy / rewrite.

http://mail.zope.org/pipermail/zope/2004-February/thread.html#146614

The magic in z2.py happened by adding a new HTTPS server with:

+try:
+del HTTPS_ENV['HTTP']
+except KeyError:
+pass
+HTTPS_ENV['HTTPS']='ON'

I'm not seeing an easy way to achieve the same in Zope 2.7, or perhaps
I'm just not as familiar with the code yet. Could someone point me in
the right direction??

Tom


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )