Using Zope 2.5.1 with python 2.1.3 on Linux (RH 7.1). For some reason when I put a CookieCrumbler(0.5) instance in a folder, I hit the redirection limit when accessing the folder's index_html. I'm using LDAPUserFolder 2.0 in the same folder. Even pointing directly to the login_form doesn't work. I've removed references to standard_html_footer and standard_html_header from the dtml method created. I've made sure anonymous users have permission on the login_form method. I've tried checking both the "Always redirect" and "Use cookie paths" options, and neither seems to help. The kicker is that it works just fine if I drop the CookieCrumbler in the root folder. Can anyone offer a suggestion? I couldn't find anything about this topic in a search of the archives (limited as that search is). Thanks, -- John Coleman jcoleman@sbc.edu
Hello John, had the same problem when I used CookieCrumbler for the first time. Try this /dir1 /dir1/dir2 if you want to protect dir2, put cookiecrumbler in dir1. That solved it for me. Ulli -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06
John Coleman wrote at 2003-4-8 15:26 -0400:
.... For some reason when I put a CookieCrumbler(0.5) instance in a folder, I hit the redirection limit when accessing the folder's index_html.
Can you check "var/Z2.log" which requests arrive at Zope? This may give a hint to the redirect loops cause. Dieter
participants (3)
-
Dieter Maurer -
John Coleman -
Ulrich Wisser