[Zope] Replacing index_html with index.html

Dylan Reinhardt zope@dylanreinhardt.com
01 Apr 2003 19:43:59 -0800


This can be done quite a bit more easily:

Put this in index_html:

<dtml-var "_['index.html']">

Ta da!

If you abosolutely *must* redirect, try this:

<dtml-call "RESPONSE.redirect(URL1 + '/index.html')">

But it's better not to depend on redirection, if you can avoid it.  It's
not 100% supported in all browsers.

HTH,

Dylan