Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



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

next up previous contents index
Next: NCSA server directives Up: Generating directory listings Previous: Generating directory listings


CERN server directives


AlwaysWelcome { On  | Off }                             (On)

If set to On, URLs that reference directories will be redirected to the welcome file within the directory.
There is no equivalent NCSA directive.


Welcome filename    (Welcome.html, welcome.html and index.html)

Specifies the name of the welcome file that is returned when a URL referencing a directory is received. A list of welcome files can be built by entering a number of Welcome directives. The server looks in the directory for a file that matches one of the names specified in the configuration file with this directive. If more than one match is found in the directory, the match that occurs first within the configuration file is selected.
This is partly equivalent to the NCSA DirectoryIndex directive.


DirAccess { On  | Off  | Selective }                    (On)

Controls whether or not the generation of directory listing documents is enabled. If selective is specified, generation is only enabled for those directories containing a file .www_browsable.
There is no equivalent NCSA directive.


DirReadme { Top  | Bottom  | Off }                     (Top)

Controls the position of the display of README file contents within generated directory listing documents.
There is no equivalent NCSA directive.


DirShowIcons { On  | Off }                              (On)

Include in-line icon images, indicative of file type, within generated directory listings.
Equivalent to the IconsAreLinks option of the NCSA IndexOptions directive.


DirShowBrackets { On  | Off }                           (On)

Include square brackets around the alternative text for the in-line icon images.
There is no equivalent NCSA directive.


DirShowDate { On  | Off }                               (On)

Include file-last-modified dates in generated directory listings.
The opposite of the SuppressLastModified option of the NCSA IndexOptions directive.


DirShowSize { On  | Off }                               (On)

Include file sizes in generated directory listings (file sizes are displayed as a number of kilobytes).
The opposite of the SuppressSize option of the NCSA IndexOptions directive.


DirShowBytes { On  | Off }                             (Off)

Display exact byte count for files smaller that one kilobyte in size. By default these are shown as 1K.
There is no equivalent NCSA directive.


DirShowDescription { On  | Off }                        (On)

Include file descriptions (extracted from the TITLE element of HTML files) in generated directory listings.
The opposite of the SuppressDescription option of the NCSA IndexOptions directive.


DirShowMaxDescrLength len                               (25)

The maximum number of characters allowed for the description text in the generated directory listings. Descriptions longer than this will be truncated.
There is no equivalent NCSA directive.


DirShowHidden { On  | Off }                             (On)

Include UNIX hidden files, that is, files with names starting with a period, within generated directory listings.
There is no equivalent NCSA directive.


DirShowOwner { On  | Off }                             (Off)

Include the owner ID of each file in the generated directory listing.
There is no equivalent NCSA directive.


DirShowGroup { On  | Off }                             (Off)

Include the group ID of each file in the generated directory listing.
There is no equivalent NCSA directive.


DirShowMode { On  | Off }                              (Off)

Include the UNIX file permission bits in the generated directory listing.
There is no equivalent NCSA directive.


DirShowCase { On  | Off }                               (On)

Sort the generated directory listing entries in a case-sensitive order, that is, with all upper case letters coming before lower case letters.
There is no equivalent NCSA directive.


DirShowMinLength len                                    (15)

The minimum number of characters reserved for the filenames in the generated directory listings.
There is no equivalent NCSA directive.


DirShowMaxLength len                                    (25)

The maximum number of characters allowed for the filenames in the generated directory listings. Names longer than this will be truncated.
There is no equivalent NCSA directive.


AddDirIcon url alt

Specifies the URL for an icon to be included in generated directory listings to represent a directory. The alternative text for the image is specified by alt.
There is no equivalent NCSA directive.


AddParentIcon url alt

Specifies the URL for an icon to be included in generated directory listings to represent the parent directory. The alternative text for the image is specified by alt.
There is no equivalent NCSA directive.


AddUnknownIcon url alt

Specifies the URL for an icon to be included in generated directory listings to represent a file of unknown type. The alternative text for the image is specified by alt.
There is no equivalent NCSA directive.


AddBlankIcon url alt

Specifies the URL for a blank icon to be included in the header line of generated directory listings for the purposes of alignment. The alternative text for the image is specified by alt.
There is no equivalent NCSA directive.


AddIcon url alt template

Specifies the URL for an icon to be included in generated directory listings for files of a particular MIME content or encoding type. The alternative text for the image is specified by alt.

    AddIcon http://somesite.org/icons/gif.gif GIF Image/GIF

Equivalent to the NCSA AddIconByType and AddIconByEncoding directives. It is not equivalent to the NCSA directive of the same name.


IconPath dir-name                       (ServerRoot/icons/*)

Specifies the path for the standard internal icons included in generated directory listings. This allows icons to be located on a different server, for example to allow a group of servers to reference the same server for their icons.

    IconPath http://othersite.org/std-icons/*

There is no equivalent NCSA directive.


next up previous contents index
Next: NCSA server directives Up: Generating directory listings Previous: Generating directory listings

[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