> 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.


_______________________________________________
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