TypesConfig Directive

Top - Docs - General - Server - Resource - Access - FAQ - Tutorials

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.


Virtual Host

This directive is not valid for virtual host configuration.


Default

If you do not specify an TypesConfig, HTTPd assumes:

TypesConfig conf/mime.types

Compile Option: TYPES_CONFIG_FILE


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.


[Back] Return to Server Configuration File Overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / 10-02-95