[Zope] Re:GoLive

tom smith tom@othermedia.com
Wed, 01 Nov 2000 15:24:09 +0000


on 1/11/00 2:31 pm, Christopher J. Kucera at ckucera@globalcrossing.com
wrote:

> 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?