Mark Barratt wrote at 2005-8-17 17:41 +0100:
>Zope 2.7.4 on Debian
>DTML method index_html in the root says <dtml-var "_['index.html']">
Do you know, that this is equivalent to the simpler "<dtml-var index.html>"?
>A link in a page template to
>where the page is addressed by [path]/ and is actually at [path]/index.html
The object located by URL traversal is "index_html" and not
When rendered, "index_html" happens to return the same text as
"index,html", but this does not change "URL0".
>I can vaguely see why this is happening. My question: is there a
>straightforward way of making the links (and error reports) return the
>actual page address?
The most straight forward way would be to perform
a redirect to "index.html" in your "index_html" -- not the most
efficient way, but one with the least surprises...
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -