[Zope] Page only accessible via ZMI

Dieter Maurer dieter at handshake.de
Fri Feb 6 15:50:10 EST 2004


John Poltorak wrote at 2004-2-5 19:25 +0000:
>On Thu, Feb 05, 2004 at 07:42:23PM +0100, Dieter Maurer wrote:
>> ...
>> 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?

Usually, you should be able to use trivial URL references (of
the form "filename").

When you use the implicit "index_html" URL, this depends
on a correct "base" tag.
Due to bugs (recently, I met such a bug in CMF/Plone), the
"base" tag generation is sometimes "forgotten".

-- 
Dieter



More information about the Zope mailing list