[Zope] setting default home page

Eron Lloyd lloyd@lancaster.lib.pa.us
Fri, 1 Mar 2002 13:57:49 -0500


Inherently, this looks to be one of the larger initiatives for Zope 2.6. Read 
more at 
http://dev.zope.org/Wikis/DevSite/Proposals/ObjectTypeAssociationAndDeathToIndexHtml

Take care,

Eron

On Friday 01 March 2002 12:16 pm, you wrote:
> On Fri, 1 Mar 2002, Adam wrote:
> > Greetings, all;
> >
> > I have Zope-2.4.3-linux2-x86 and am having problems making
> > Zope look at my index.html as the default page.  I can see Zope is
> > currently looking at index_html but I want to change that setting
> > to look at index.html.
> >
> > I'm accustomed to Apache which uses this in its httpd.conf:
> > <IfModule mod_dir.c>
> >     DirectoryIndex index.html
> > </IfModule>
> >
> > How can I set Zope to use index.html instead of index_html ?
> >
> > Thanks,
> >
> > Adam
>
> Not like that; index_html is currently always the default method
> (object, whatever) that is shown (in Zope <=2.5 at least; this
> may be a configurable change in Zope 2.6, apparently)
>
> One workaround that works in most places, in most cases:
>
>
> create a dtml method index_html:
>
>  <dtml-var "_['index.html']">
>
> Folders below the one in which index_html is defined will
> pick it up from acquisition.
>
> Search the ML for discusions about the subtle complication of
> this if you hit a wall.
>
> Good luck!