TypesConfigFile directive


Purpose

The TypesConfigFile 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

TypesConfigFile file

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

Only one TypesConfigFile directive is allowed in the configuration file.


Default

If you do not specify an TypesConfigFile, httpd assumes:

TypesConfigFile conf/mime.types


Examples

TypesConfigFile conf/mime-types

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

TypesConfigFile /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