[Zope] Page only accessible via ZMI
John Poltorak
jp at warpix.org
Thu Feb 5 14:25:20 EST 2004
On Thu, Feb 05, 2004 at 07:42:23PM +0100, Dieter Maurer wrote:
> Usually, you do not get a "Resouce not found" as an indication
> of a permission problem. Usually, you get an "Unauthorized" exception
> (in some places you get a "KeyError" as some people think this
> were a good idea).
>
> Carefully check the URL that give you the error.
> Almost surely, it is wrong.
Yes, you are correct. It was due to me incorrectly referring to a file in
the same folder as index_html.
I had specified the link as href="filename", but when I changed it to
href="foldername/filename" it worked OK.
Somehow this does not seem to be the best way of doing it. What is the
recommended way of referring to a file in the same folder?
> --
> Dieter
--
John
More information about the Zope
mailing list