Home > Web hosting - Linux. > Adding MIME types to Apache, using .htaccess, on the Linux webhosting platform.

Adding MIME types to Apache, using .htaccess, on the Linux webhosting platform.

The web server’s list of filename extension to mime type mappings can be added to or overridden by customers on a per-account or per-directory basis using .htaccess files.

The syntax is: AddType mime/type extension

e.g.
AddType image/gif .gif
AddType audio/x-mpegurl .m3u

For more information please see: http://httpd.apache.org/docs/mod/mod_mime.html#addtype