Use the MIME Types
interface to configure how cPanel relays information to the browser
about how to handle specific file extensions. For example, on most
servers, the text/html
MIME type equates to the .htm
, .html
, and .shtml
extensions, which causes the browser to interpret those files as HTML files.
(Home >> Advanced >> MIME Types)
Overview
MIME types relay information to the browser about how to handle file extensions. MIME types can allow visitors’ browsers to handle new technologies as they become available.
To add new MIME types to your web server, define the name, directory, and file extension that correspond to the MIME type.
Create a MIME Type
To add a MIME type, perform the following steps:
- Enter the name of the file type’s handler in the MIME Type text box.
- For example,
application/cgi
is the handler for the.cgi
file extension.
- For example,
- Enter the file extension in the Extension(s) text box.
- A file extension is the letters after the dot (
.
) in a file name. For example,filename.fileextension
.
- A file extension is the letters after the dot (
- Click Add.
Delete a user-defined MIME type
To delete a MIME type, click the X icon under the Remove heading, and then click Yes to confirm that you wish to remove the MIME type.
Note: You cannot delete MIME types from the System MIME Types table.
More about MIME types
For more information, read the Webmaster Toolkit list of MIME types.
You can also use your preferred search engine to research the MIME type that you wish to add.