[Zope] Replacing index_html with index.html
Eron Lloyd
elloyd@lancaster.lib.pa.us
Wed, 2 Apr 2003 10:15:42 -0500
Actually, what you'd probably be most interested in is this:
http://dev.zope.org/Wikis/DevSite/Proposals/ObjectTypeAssociationAndDeathToIndexHtml
Last I heard it was delayed from the 2.6 series, but perhaps will make it in
2.7. However, it seems some of the code opening up the possibility for this
has made it into the code--have a look at <Zope>/lib/python/ZPublisher. Look
specifically at BaseRequest.py and search for __browser_default__. Perhaps
Casey can explain more about his vision and the status of this. That old
index_html -> index.html refresh is an old, tired hack.
HTH,
Eron
On Tuesday April 1 2003 9:30 pm, Niclas Kuehne wrote:
> Hello everyone:
>
> I am trying to display "index.html" in a folder instead of index_html
> by default. This is what I put in my "index_html" in the root folder:
>
> <dtml-if index.html>
> <html>
> <head>
> <title>Redirection</title>
> <meta http-equiv="refresh"
> content="0; URL=&dtml-absolute_url;/index.html">
> </head>
> <body>
> </body>
> </html>
> </dtml-if>
>
> It used to work just fine with Zope 2.3.3, but after upgrading to Zope
> 2.6.1 it fails with the message:
>
> Error Type: TypeError
> Error Value: __call__() takes exactly 2 arguments (1 given)
>
> Can anyone help?
>
> Thank you very much!
> Nic
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> ---
> [This E-mail scanned for viruses by Declude Virus]
--
Eron Lloyd
Technology Coordinator
Lancaster County Library
elloyd@lancaster.lib.pa.us
Phone: 717-239-2116
Fax: 717-394-3083
---
[This E-mail scanned for viruses by Declude Virus]