[Zope] Naming files with a dot

Jay R. Ashworth jra@baylink.com
Sat, 2 Oct 1999 12:07:47 -0400


On Sat, Oct 02, 1999 at 10:30:11AM +1000, Stuart 'Zen' Bishop wrote:
> On Fri, 1 Oct 1999, Jay R. Ashworth wrote:
> > On Fri, Oct 01, 1999 at 10:25:23AM -0700, James Punteney wrote:
> > > Is there a problem with naming a page using a period instead of the under 
> > > score as in "index.html" instead of "index_html".
> > 
> > Yes; it's poor user-interface architecture.  See below.
> > 
> > Are you under the mistaken apprehension that _anyone_ _ever_ types
> > "index.html" unless they're a) told to, or b) trying to be clever and
> > look for a directory without one?
> 
> However, if you are migrating a site to Zope, you might find your old users
> have managed to bookmark the 'index.html' pages and such (usually as a result
> of dodgy web server configuration or poor HTML coding).

Aw, hell.

Good point, Stuart.

> If you need to catch these cases, you just have to create a DTML method
> called 'index.html' at the root of your Zope tree, with the following contents:
>     <dtml-var index_html>

Can you _do_ that without the . confusing Zope?

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra@baylink.com
Member of the Technical Staff     Buy copies of The New Hackers Dictionary.
The Suncoast Freenet            Give them to all your friends.
Tampa Bay, Florida     http://www.ccil.org/jargon/             +1 813 790 7592