TypesConfig directive


Purpose

The TypesConfig directive gives httpd the location of the typing configuration file.

This file is how httpd maps filename extensions to MIME types to return to HTTP/1.0 clients. You should not need to edit it. If you really want to, look at the file format.


Syntax

TypesConfig file

file is the name of the types file. It is either a full pathname, or a partial pathname relative to ServerRoot.

Only one TypesConfig directive is allowed in the configuration file.


Default

If you do not specify an TypesConfig, httpd assumes:

TypesConfig conf/mime.types


Examples

TypesConfig conf/mime-types

httpd looks for types configuration in the file conf/mime-types in the ServerRoot directory.

TypesConfig /httpd/admin/types-local

httpd looks for types configuration in the file /httpd/admin/types-local.


Return to Server Configuration File Overview

httpd@ncsa.uiuc.edu