Fred Yankowski wrote:
On Wed, Nov 01, 2000 at 08:31:09AM -0600, Christopher J. Kucera wrote:
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>
That obvious solution fails in some cases. It failed for me the very first time I needed it, when I tried to integrate web pages created by the Web Studio tool into a larger Zope website. Web Studio (ack, phooey) creates a main index.html that uses Javascript to redirect to another page that acts as the real entry point. That Javascript code gets confused when loaded via <dtml-var index.html> as above. I resorted to doing the following instead:
<dtml-call "RESPONSE.redirect(URL1 + '/index.html')">
I avoid dotted names like th eplague, so my suggestion may not work but you could try: <dtml-var "_['index.html']"> -- E PLURIBUS LINUX