on 1/11/00 2:31 pm, Christopher J. Kucera at [EMAIL PROTECTED]

> tom smith wrote:
>> I think there's a trick where dtml files can be saved as index.html,
>> and then you create a method that redirects index_html or
>> /whatever/wherever/ to index.html in the same folder, but I'm not
>> sure how to do that.
> That should be pretty easy . . .  Zope will let you add objects that
> have dots in the titles, so just put a method "index_html" in the
> root folder which has the following line:
> <dtml-var index.html>
> Then wherever there is "index.html", it will be displayed as the
> default document (go Acquisition!).

This does the trick. Only when you get to complicated products like
Squishdot with lots of dtml files, it'll take some working out all the
broken links.

Why doesn't zope have a list of default file names... index_html,
index.html, default.html, whatever?

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to