[Zope] SiteAccess, SSL + SiteRootBASE

jeremie@jarna.com jeremie@jarna.com
Tue, 12 Dec 2000 22:22:40 PST


I am sorry, it can seem stupid, but what do you mean by "access" rule?
Thanx, jeremie



-----Original Message-----
From: emf <mindlace@digicool.com>
Sent: 12/12/00 04:38 PM
To:  jeremie@jarna.com
Cc:  zope@zope.org
Subject: Re: [Zope] SiteAccess, SSL + SiteRootBASE

jeremie@jarna.com wrote:

> Hi everyone, 
> 
>  I am using Apache+Zserver+SSL (see How-to from TJ. Mannos), and it works 
>  fine. The thing is that I have to set manually a SiteRoot Object in a 
>  ssl Folder to make all this work and I would like to do it dynamically! 
>  So, when I create my SiteRoot object and enter 
>  "https://www.fightclub.com" as base, the page also displays a comment 
>  saying: 
>  "If Base is not set, the SiteRoot will first attempt to acquire 
>  SiteRootBASE and then search the REQUEST for it. The same holds for Path 
>  and SiteRootPATH." 
> 
>  So I was thinking that maybe I could set SiteRootBASE dynamically and 
>  make it work the same. Unfortunately, I made some attempts and it does 
>  not seem to work. 
> 
>  Does anybody have any idea of how to make it work? 

I do this in the access rule.

<dtml-if "condition">
<dtml-call "REQUEST.set('SiteRootBASE','some-value')">
</dtml-if>

~ethan




_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )