Greetings, 1) How can I use SiteRules to redirect a page access? Scenario /download SiteRule LocalFSObject getInfo - DMTL doc A user goes to LocalFSObject and the SiteRule will check REQUEST for something, if it is present it will allow access of LocalFSOBject otherwise send the user to getInfo.... Is this possible and is there a URL to some example code? 2) It seems to me that SiteRules are some magic outside of influencing the page that was actually called in the SiteRule's folder. For instance, text is not returned to the page (which is expected as a pre-process rule), but much to my chagrin I cannot set Session variables, which would be a totally logical place to do so. Why is this? Thanks very much, Paz
I have indeed read them many times over a 6 month period. There is one use case that is not really related to what I need and I have no clue how to proceed. So, I'm sorry if I disagree with you that they are 'Nice How-To's'. I think of them more as typical Unix guru README files that tell you the whole story only if you have the equivalent knowledge as the writer, which is amatuerish tech-writing practice. The best part of the whole document set is the bulleted-list on the 'Other Uses for SiteAccess' page at the very bottom. The last bullet is something I'd like to know more about, but no searches reveal anything. Any ideas? Paz -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dieter Maurer Sent: Friday, June 15, 2001 11:19 PM To: Paul Zwarts Cc: zope@zope.org Subject: Re: [Zope] SiteRule Paul Zwarts writes:
1) How can I use SiteRules to redirect a page access? There are nice HowTo's for SiteAccess on zope.org.
Have you read them? Dieter _______________________________________________ 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 )
participants (2)
-
Dieter Maurer -
Paul Zwarts