Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



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

next up previous contents index
Next: Mapping directives Up: File typing directives Previous: CERN server directives


NCSA server directives

The NCSA file typing directives are recognized in the resource configuration file. They may also be used in per-directory Access Control Files (described in Section gif) to add extra types that are used in those directories. Default type values are stored in the types configuration file, which has a completely different format from these files.


DefaultType type/subtype                         (text/html)

Specifies the default MIME type and subtype for files that do not match any AddType rules.

    DefaultType text/plain

This is equivalent to the CERN AddType directive with * specified as the pattern.


AddType type/subtype extension                    (numerous)

Indicates the MIME type and subtype for files with the specified extension.

    AddType text/plain msg

Equivalent to the CERN AddType directive.


AddEncoding type extension                        (numerous)

Indicates the MIME encoding type for files with the specified extension.

    AddEncoding x-gzip gz

Equivalent to the CERN AddEncoding directive.


[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