W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: RFE: Set the default index file of a directory...

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Wed, 05 Jan 2000 13:19:18 +0100
Message-Id: <387336C6.25E8A115@informatik.med.uni-giessen.de>
To: W3 Jigsaw Mailinglist <www-jigsaw@w3.org>

Hi !

----

Yves Lafon wrote:

> > Is there any way to tell the default indexer to use "Overview.html" as
> > "default" page for a directory and if "Overview.html" is not available,
> > use "Overview.jsp", "index.html" or "index.htm" etc. ?
> > If not, how to implement this ? Simply enumerate the possible file names
> > with ',' as the seperator and hack the HTMLFrame code ?
>
> For now it is not possible, it uses only one name, the index
> StringAttribute as defined in HTTPFrame.
> The best thing would be to create a new attribute (indexes? or a better
> name ;) ). A StringArrayAttribute, and get the first one in the list that
> matches (a little patch to make in
> protected boolean lookupDirectory(LookupState ls, LookupResult lr)
>
> If you overload index, there will be a problem as the type will change.

What about allowing regular expressions ? :-)
Still a StringAttibute, but may match multiple files...

----


> > Is there a release date for jigsaw 2.2.x ?
>
> Not yet, the plan is to release a new version soon both 2.0.4 to synch
> with the latest devel releases, and 2.1.1 that should be stable for most
> of the code, except the cache which will be brand new and will need more
> testing. If you are not using the cache, 2.1.1 may be considered as 2.2.-1
> ;)

Dumb question: Only the proxy uses the cache, a plain server installation
doesn't use the cache, right ?

----


> And of course, if you have contributions to incorporate, they will be more
> than welcome :)

Yes, 1st on my priority list is to rewrite this damn jigsaw.server
startup/shutdown script...

----


> Happy new year!

Ooops, I forgot this - happy new year, too :-)

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193 FAX +49 (0) 641/99-41359
Received on Wednesday, 5 January 2000 07:19:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT