From: Olivier Deckmyn <[EMAIL PROTECTED]>
> What is the new way to apply the "__no_before_traverse__" using SiteAccess2

Two ways, and it's factored so that you can turn SiteAccess objects off more 
selectively.

First, you can turn all SiteRoots or Access Rules in your site off by restarting Zope 
with
environment variables SUPPRESS_SITEROOT and/or SUPPRESS_ACCESSRULE set.

Second, you can insert _SUPPRESS_SITEROOT or _SUPPRESS_ACCESSRULE in a URL right after 
the name of a
container that has one you want to suppress.  You can include both, in either order, 
if a folder has
both an Access Rule and a SiteRoot that you want to turn off.

Cheers,

Evan @ digicool & 4-am


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

Reply via email to