Re: [Zope-dev] https with zope 2.7

2004-02-13 Thread Chris McDonough
I suspect you can put HTTP ON in the cgi-environment section of
zope.conf.  There isn't any way now to get rid of HTTP if it exists in
the same namespace, though.  Is that necessary?

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 )


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: 

 cgi-environment
HTTPS ON
 /cgi-environment



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 )