Frequently Asked Questions

Help Center Search

Can I configure MIME types on my Linux Hosting Account?

Print this Article
Comment on this Article
Last Updated: January 8, 2008 4:14 PM

You can configure MIME types on your Linux hosting account using a .htaccess file. When you configure MIME types in your .htaccess file, you associate file types with a specific application or action.

For example:

AddType application/x-shockwave-flash swf

AddType specified you are adding a new mime type (file type).

application/x-shockwave-flash is the actual mime parameter specs.

swf is the extension of the file type.

NOTE: HTML and PHP MIME types can only be modified on hosting accounts running Hosting Configuration 2.0. For information about upgrading to Hosting Configuration 2.0, see How do I upgrade my hosting account to run Hosting Configuration 2.0?