SiteAccess problems in Zope 2.2.0a
I have a small problem with the new Zope - URLs like: http://blah.com/__no_before_traverse__/ doesn't work anymore. Thus I can no longer access my root folder without it applying the rewriterule that is specified. Any way around this? Alexander.
Hi Alexander, What does your access rule look like? cheers, Chris
Hi Alexander,
What does your access rule look like?
The error message I get is this: Error Type: TypeError Error Value: unexpected keyword argument: validated_hook And the access rule looks like this: <dtml-call expr="REQUEST.setURL(base='http://mp3.no')"> <dtml-let path="REQUEST.path"> <dtml-if path> <dtml-comment> There is a path </dtml-comment> <dtml-if expr="path[-1]=='Z'"> <dtml-comment> '/Z/...' explicitly forbids redirection to 'artists' </dtml-comment> <dtml-call expr="path.pop()"> <dtml-call expr="REQUEST.setURL(path='Z')"> <dtml-elif expr="path[-1] in objectIds()"> <dtml-comment> Don't redirect existing objects </dtml-comment> <dtml-else> <dtml-comment> Everything else goes to 'artists' </dtml-comment> <dtml-call expr="path.append('artists')"> <dtml-call expr="REQUEST.set('SiteRootPATH', '/')"> </dtml-if> </dtml-if> </dtml-let> Regards, Alexander.
participants (2)
-
Alexander Limi -
Chris Withers