# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
DefaultType text/plain
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
TypesConfig /etc/mime.types
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
AddType application/x-tar .tar .tgz .tbz2
AddType image/svg+xml .svg .svgz
AddType image/x-xcf .xcf
AddType application/vnd.ms-excel .xls
AddType application/vnd.ms-powerpoint .ppt
AddType application/vnd.ms-word .doc .dot
AddType application/x-ms-dos-executable .exe .cmd
AddType application/x-font-afm .afm
AddType application/x-font-bdf .bdf
AddType application/x-font-otf .otf
AddType application/x-font-pcf .pcf
AddType application/x-font-snf .snf
AddType application/x-font-ttf .ttf .otf
AddType application/x-font-type1 .pfa
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz .svgz
AddEncoding x-bzip2 .bz2 .tbz2
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#AddType application/x-compress .Z
#AddType application/x-tarz .tar.Z
#AddType application/x-gzip .gz
#AddType application/x-compressed-tar .tar.gz .tgz
#AddType application/x-bzip .bz2
#AddType application/x-bzip-compressed-tar .tar.bz2 .tbz2
#AddType image/svg+xml-compressed .svgz
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#AddHandler cgi-script .cgi
# For files that include their own HTTP headers:
#AddHandler send-as-is asis
# For server-parsed imagemap files:
#AddHandler imap-file map
# For type maps (negotiated resources):
AddHandler type-map var
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
MIMEMagicFile /etc/apache2/magic
# vim: ts=4 filetype=apache