W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: default html page for a new directory

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 18 Mar 1999 14:38:19 +0100 (MET)
To: James Smith <jims@beacon-ct.co.uk>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.10.9903181436110.13851-100000@tarantula.inria.fr>
On Thu, 18 Mar 1999, James Smith wrote:

> i've added a new directory under .../www
> 
> there are two files in this new directory, called overview.html and
> index.html. reindexing the space node has shown up this new directory and
> it's child html files fine. but how do i get index.html to be the default
> file shown rather than overview.html?
> 
> i had a look thru the archive and got from a mail sent april 1997...
> 
> 'set the index attribute of DirectoryResource to index.html'
> 
> but there's no index attribute of my new node in jigadmin. there's an
> indexer attribute, which presumably the indexer assigned to this new node
> automatically, but no index attribute
> 
> so where do i set this attribute?

It is not in the attributes fo the DirectoryResource, but in the
attributes of its HTTPFrame. There is an index attribute, and the menu
should show you the available indexes.
If you want to have the default for all the directories of your site, you
should do this also in the indexer (default -> directories -> *default* ->
HTTPFrame)
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Thursday, 18 March 1999 08:41:46 GMT

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