AddType directive
Purpose
Allows you to add entries to the server's default typing information
and cause an extension to be a certain type. These directives override
any conflicting entries in the TypesConfig file.
Syntax
AddType type/subtype extension
type/subtype
is the MIME-like type for the document.
extension
is the filename extension to map to this type.
This can either be a filename extension, a full pathname, or a file name.
You may use as many AddType directives as you wish.
File
srm.conf
Default
The default types are in the types configuration file.
Example
AddType text/plain doc
This would cause any file ending in .doc to be served as type
text/plain.
Return to Resource Configuration File Overview
NCSA HTTPd Development Team /
httpd@ncsa.uiuc.edu /
Last Modified 7-12-95