Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



donations support the development of
cronolog.org
and
refcards.com

next up previous contents index
Next: User directories Up: Generating directory listings Previous: CERN server directives


NCSA server directives

These directives are only recognized in the resource configuration file.

Please note: the NCSA documentation refers to generated directory listings as directory indexes.


DirectoryIndex file                             (index.html)

Specifies the name of a file containing a pre-prepared directory index. When a URL requests a directory, the server looks in the directory for a file of the name specified here. If such a file is found it will be returned rather than a directory listing being generated.

    DirectoryIndex .index.html

Partly equivalent to the CERN Welcome directive.


FancyIndexing { On  | Off }                            (Off)

Controls whether generated directory listing documents include icons and file sizes or just filenames. This can also be specified using the FancyIndexing option of the IndexOptions directive.
There is no equivalent CERN directive.


ReadmeName file                                 (no default)

The name of a file whose contents are displayed at the bottom of a generated directory listing (if a file of that name exists in the directory). The server looks for a file with the specified name and the extension .html, before looking for a file without an extension.

    HeaderName README

There is no equivalent CERN directive.


HeaderName file                                 (no default)

The name of a file whose contents are displayed at the top of a generated directory listing (if a file of that name exists in the directory). The server looks for a file with the specified name and the extension .html, before looking for a file without an extension.

    HeaderName HEADER

There is no equivalent CERN directive.


IndexOptions feature [feature ...]    (no features specified)

Controls the following directory listing generation features:

FancyIndexing
If specified, generated directory listing documents include icons and file sizes, rather than just filenames. This can also be specified using the FancyIndexing directive.

IconsAreLinks
If specified, icons included in generated directory listings act as part of the hypertext links.

ScanHTMLTitles
If specified, the server will search HTML documents for the TITLE element and include the contents of the element as the description.

SuppressLastModified
Suppress the inclusion of file-last-modified dates in generated directory listings.
The opposite of the CERN DirShowDate directive.

SuppressSize
Suppress inclusion of file sizes in generated directory listings.
The opposite of the CERN DirShowSize directive.

SuppressDescription
Suppress file descriptions (extracted from the TITLE element of HTML files) from generated directory listings.
The opposite of the CERN DirShowDescription directive.

There is no directly equivalent CERN directive.


IndexIgnore pattern [pattern ...]       (the file named `.')

Specifies patterns for files to be excluded from generated directory listings. The following example would exclude filenames with the specified endings from a generated directory listing:

    IndexIgnore .htaccess .log 


There is no equivalent CERN directive.


AddIcon icon-file pattern [pattern ...]

Specifies the pathname of an icon file that is used in generated directory listings for files whose names match the specified pattern.
This directive is not equivalent to the CERN directive of the same name.


AddIconByType icon-file file-type [file-type ...]

Specifies the pathname of an icon file that is used in generated directory listings for files of the specified MIME content type.
Equivalent to the CERN AddIcon directive.


AddIconByEncoding icon-file encoding [encoding ...]

Specifies the pathname of an icon file that is used in generated directory listings for files of the specified MIME encoding.
Equivalent to the CERN AddIcon directive.


AddDescription "description" pattern

Specifies the text to be used in generated directory listings as a description of files that match the pattern given. Multiple AddDescription directives may be specified, but this will cause a deterioration in server response times.
There is no equivalent CERN directive.


next up previous contents index
Next: User directories Up: Generating directory listings Previous: CERN server directives

[ITCP]Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout using the Template Toolkit. The document is mainly of historical interest as obviously many of the sites mentioned have long since disappeared.

 
Copyright © 1996-2002 Ford & Mason Ltd