[Zope-dev] https with zope 2.7

Thomas Anderson tn-anderson at comcast.net
Fri Feb 13 12:47:12 EST 2004


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  -  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