
Parameters in a record of an index file like

	File=foo.html
	Title=This is foo
	Keywords=bar, baz

get translated to a line in the index.cache file like

	file=foo.html&title=This is foo&keywords=bar, baz

i.e. a sequence of token=value pairs separated by ampersands.  Any
ampersands in a value must be escaped with a '\' which will be removed
when the server reads the index.cache file.

The first line of an index.cache file is the directory record line,
the second line should be blank.  If there is no directory record
line the first line should be blank and file information can start
with the second line.

Here is a list of the elements of an index file and the corresponding
tokens used in the index.cache file.

Directory Record	Cache token
----------------	-----------
Accessfile 		accessfile
Searchwrapper		dwrapper
Emptysub		emptysub
Subdirs			subdirs
Owner			owner
Cache-module		cachemod	/* Cache data base module */
File-module		filemod		/* File data base  module */
Search-module		indexmod	/* Index search module  module */
Authorization-type	authtype	/* Type of authorization */
Authorization-realm	authrealm	/* Realm for authorization */
Authorization-module	authmod		/* module to do authorization */
Default-Content		<see note 1>

File Record		Cache Token
-----------		-----------
File			file
IndexFile		file
Title			title
URL			url
Header			header		/* HTTP header line added for item */
Parse			parse		/* boolean */
Redirect		redirect
Keywords		keywords
Content-Type		content
Content-Encoding	encoding
Field#			field#			/* e.g. field7 */
Includes		includes
Wrappers		wrappers
Searchwrapper		swrapper
Emptysub		emptysub
Filter			filter
Expires			expires
Nosearch		nosearch	/* boolean */
Attribute		<see note>


<Note 1> The Default-content line is used to specify the content-type of
files for which no Content-type record is present.  By default this has
the value "text/plain".

<Note 2> Attribute=nosearch is translated to nosearch=true and
Attribute=noindex causes the file not to be listed in any index.html
file created by wndex.  Attribute=invisible has both these effects.

