Re: [Zope] SiteAccess, SSL + SiteRootBASE

2000-12-12 Thread jeremie

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



-Original Message-
From: emf [EMAIL PROTECTED]
Sent: 12/12/00 04:38 PM
To:  [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]
Subject: Re: [Zope] SiteAccess, SSL + SiteRootBASE

[EMAIL PROTECTED] 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  -  [EMAIL PROTECTED]
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 )





___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] SiteAccess, SSL + SiteRootBASE

2000-12-11 Thread jeremie

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? 

 Thanx, jeremie



___
Zope maillist  -  [EMAIL PROTECTED]
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 )