[Zope-dev] https with zope 2.7
Chris McDonough
chrism at plope.com
Fri Feb 13 10:42:51 EST 2004
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 - Zope-Dev at zope.org
> 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 )
More information about the Zope-Dev
mailing list