[Zope] SSL + ProxyPass + Zope question...

Eric Walstad eric@walstads.net
Mon, 06 Aug 2001 12:29:11 -0700


This is untested, but something like this might do what you want:

<dtml-if expr="_.string.find(URL, '/manage') > -1">
<dtml-call "RESPONSE.redirect('https:' + URL[5:])">
<dtml-return "'REDIRECTING.. to secure port.. '">
</dtml-if>

HTH,
Eric.

> -----Original Message-----
> From: Stephan Goeldi [mailto:stephan_goeldi@hotmail.com]
> Sent: Monday, August 06, 2001 12:06 PM
> To: steve@spvi.com; eric@walstads.net
> Cc: zope@zope.org
> Subject: Re: [Zope] SSL + ProxyPass + Zope question...
>
>
> ><dtml-if "URL[:5] == 'http:'">
> ><dtml-call "RESPONSE.redirect('https:' + URL[5:])">
> ><dtml-return "'REDIRECTING.. to secure port.. '">
> ></dtml-if>
>
> When I now want:
>
> <dtml-if "Zope-Management-Interface">
> <dtml-call "RESPONSE.redirect('https:' + URL[5:])">
> <dtml-return "'REDIRECTING.. to secure port.. '">
> </dtml-if>
>
> What will I have to put in the part "Zope-Management-Interface"?
>
>
>
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>