[Zope-dev] https with zope 2.7

Thomas Anderson tn-anderson at comcast.net
Fri Feb 13 01:06:06 EST 2004


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




More information about the Zope-Dev mailing list