NAME

fast_mime_map - File extension to MIME type mapping

SYNOPSIS

Plugin fast_mime_map

# Optionally:
MimeMap   .foo   application/foo

DESCRIPTION

This module attempts to map filenames to MIME types without doing any I/O. It is purely based on file extensions. If you need to introspect the contents of the file to get the MIME type then use the magic_mime_map plugin.

There is a default mapping. Best to view the source to find out what it is. Anything specified in the MimeMap config directives overrides the default mappings.

The default MIME type is text/html (in case an extension cannot be found in your custom mappings nor the default mappings). To override the default mapping:

MimeMap   #default   application/octet-stream

(Or whatever default you would prefer).