Understanding Apache MIME types
Most of the MIME types are set globally on the server. For example, on most servers, the text/html MIME type equates to htm, html, and shtml extensions and this informs the browser to interpret all files with those extensions as HTML files. MIME types are used to handle new technologies as they appear. Web servers do not have MIME types of this extension in the MIME types list, therefore web browser might not properly process the page. If a new technology appears we can set up MIME types of this new technology manually on the server. By adding a customized MIME type into web servers the web browser can process the page. Before adding new MIME types, make sure to check the list of pre-existing MIME types because it alters the functionality of the website.
MIME types are defined as a system defined MIME types. If we have a file with custom extensions, we can specify the MIME types for that file. This will inform the browser about the custom extension and how to handle that file. The difference between apache handlers and MIME types is that MIME types tell the browser how to handle the type of file, while Apache handlers instruct the web server what to do when processing certain types of files.
MIME types are also known as media type or content type. MIME types are officially assigned and listed by Internet Assigned Numbers Authority (IANA). MIME is an extension of internet email protocol that is used to exchange different file types that are audio, video, images etc.. on the internet. In web transmission, MIME header is inserted to the server. MIME types consist of two parts main type and subtype. The main type is separated from subtype by a forward slash character.
Adding MIME Types in cPanel
1) Login to cPanel.
2) Click the icon ‘MIME Types’ under the section ‘Advanced’.
3) Add MIME type extensions in the Extension(S) in the textbox.
4) Click the button ‘Add’.
This will submit the new MIME type in the web servers MIME type list.
Deleting a custom MIME type in cPanel.
1) Login to cPanel.
2) Click MIME types under Advanced section of cPanel home screen.
3) Scroll down the User Defined MIME Types list and click delete link under ‘Actions’ of the corresponding MIME types you wish to delete.
Please note that you are not allowed to delete the MIME types that the system defined automatically on the server.
If you need any further assistance please reach our support department.