Zope Zone Navigation
 
Document Actions

How do I support index.html?

Up to Table of Contents

How do I support index.html?

Zope uses "index_html" instead of "index.html" so if a user or link tries to link to "www.yourpage.com/index.html" they are going to get an error.

An easy way around this is through a DTML Method in your highest level root directory (above virtual sites if you want to cover all of them) with the following code which just redirects them to the folder they are in where Zope will pick up and serve the correct "index_html".

<dtml-raise Redirect><dtml-var URL1>/</dtml-raise>

Try it out on ZopeZone.com below.

 

Home Help Center Zope & Plone FAQs How do I support index.html?