home contents changes options help subscribe edit (external edit)

A useful ZopeProduct that helps you rewrite urls, set up virtual hosts and change the way a site is accessed. Now mostly superseded by the simpler and safer VirtualHostMonster though. Use that one instead.

Note there's an (incompatible) SiteAccess 1 for very old zope versions; you want SiteAccess 2. The product's README points to the wrong one, AFAIK.

It provides the AccessRule and SiteRoot objects, which allow you to perform special processing for particular urls, similar to apache's mod_rewrite but all in zope. You could also do this with Zope and Apache.

Beware, you can lock yourself out of your site with this product. If your AccessRule lives in "http://example.com/a_folder", then you can manage that folder with the rule turned off by using "http://example.com/a_folder/_SUPPRESS_ACCESSRULE/manage_main". Similarly, to bypass a SiteRoot object that lives in "http://example.com/" (the root) use "http://example.com/_SUPPRESS_SITEROOT/manage_main".

http://zope.org/Members/4am/SiteAccess2
Site Access 2 home & documentation


comments:

... -- Tue, 09 Aug 2005 09:59:56 -0700 reply
An access rule can be disabled by adding "suppress-all-access-rules on" in etc/zope.conf. In the same way, "suppress-all-site-roots on" disables site roots.



subject:
  ( 23 subscribers )