[Zope] SiteAccess2, Zope 2.2.2, __no_before_traverse__

Evan Simpson evan@4-am.com
Fri, 6 Oct 2000 10:30:06 -0400


From: Olivier Deckmyn <odeckmyn.list@teaser.fr>
> 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