Proper MIME types

Mime types tell browsers how to handle specific extensions.

For example, the text/html mime type equates to .htm, .html, and .shtml extensions on most servers, and this tells your browser to interpret all files with those extensions as HTML files. You can alter or add new mime types specifically for your site (note that you can not alter the system defined mime type values).

Here is an example of the cPanel interface.

The above example shows me telling Apache to treat my .html and .htm files as PHP files. This is helpful if your .html files have PHP code inside, but you cannot rename the files to the .php extension; however, this is notably more resource intensive, so use with caution.

MIME types are often used to handle new technologies as they appear. When WAP technology first appeared, no one had these extensions set up on their server. However, with mime types you could have set it up yourself and begun serving WAP pages immediately.

MIME Types in Plesk

See the Plesk User Guide article on Adding/Removing MIME types in Plesk.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I accidentally deleted the public_html or www folder

If you delete the www folder, your site should still load properly. If you delete the...

Setting a Cron to Run at a Specific Date and Time

In order to correctly set SignedOn's servers to perform a desired task in the form of a cron at a...

How to navigate through File Manager

File Manager is an quick and easy way to navigate through you files. To access File Manager:...


QuickInstall QuickInstall, our in-house script auto-installer, is functioning...

What Do I Put for the Cron Job Command ?

Linux Web Hosting Linux web hosting includes the following: Shared, Reseller, VPS and Dedicated....