Account Menu
   Home  
   Account Login  
   Create Account  
   My Cart  
   Support  
   Faq  
   News  
   Forum  
   Contact  

    Website Hosting
   Hosting Details  
   Cpanel Features  
   Cpanel Screenshot  
   Cpanel Freebies  
   Cpanel Tutorials  
   Flash Tutorials  

    Domain Names
   Domain Search  
   Domain Transfer  
   Domain Prices  
   Whois Lookup  
   Domains 4 Sale  

    Website Design
   Web Solution  
   Web Philosophy  
   Design Pricing  
   Design Team  

    Partner Links
    

    Other Links
   Affiliate Program  
   Contact Details  
   Privacy Policy  
   Refund Policy  
   Terms  
   Bookmark Our Site!  

 


CPanel Tutorials

back

MIME Types


MIME types or Multipurpose Internet Mail Extensions, are used to tell the browser how to handle certain extensions. Most of these are already set on most servers for the extensions that are used most often. For instance text/html is set for htm html and shtml so when a browser loads these types of files it will know how to read or interpret them so that they are displayed properly.

Note: Regardless of the MIME types set to be opened, a browser can only open files that it supports. So be sure to provide 3rd part plug-ins or add-ons for the users browsers if most aren't supported.

MIME types are often used for new technologies and standards that haven't been implemented globally. This section will allow users to add their own MIME types so they can keep up if they'd like or when creating their own extensions.

Most MIME extensions are already set on the server, so be sure to check the list to make sure the MIME type that is being added isn't already there, as this will cost conflicts in adding it again. The pre-set MIME types can not be changed through this section, access to root on the server is needed to change the pre-set MIME types.

Content-Types

There are six main content types; audio, application, image, text, video, and x-world. These are all located in the /usr/share/mimelink/ folder on Red Hat installations. There are many more pre-installed MIME types on most servers, but in most cases half of them aren't in use.

Audio
The audio content types are used for executing audio formats; wav, au, and so on. They are also used for MPEG and RealAudio.

Application
Application content types are used for compressed formats such as; gzip, tar, and zip. They are also used for several document types such as PDF, Postscript and so on.

Image
These subtypes are used for different types of image formats such as; GIF, PNG, JPEG, PBM and so on.

Text
These subtypes are for text and also for HTML files.

Video
These subtypes are used for the common video formats available today, such as; MPEG, Quick Time, and AVI.

X-World
The x-world subtypes are used for VRML or 3D images.

 

 

Pre-Set MIME Types

MIME Type(s) Extention(s)
application/andrew-inset ez
application/mac-binhex40 hqx
application/mac-compactpro cpt
application/mathml+xml mathml
application/octet-stream bin dms lha lzh exe class so dll
application/oda oda
application/ogg ogg
application/pdf pdf
application/postscript ai eps ps
application/rdf+xml rdf
application/smil smi smil
application/srgs gram
application/srgs+xml grxml
application/vnd.mif mif
application/vnd.mozilla.xul+xml xul
application/vnd.ms-excel xls
application/vnd.ms-powerpoint ppt
application/vnd.wap.wbxml wbxml
application/vnd.wap.wmlc wmlc .wmlc
application/vnd.wap.wmlscriptc wmlsc .wmlsc
application/voicexml+xml vxml
application/x-bcpio bcpio
application/x-cdlink vcd
application/x-chess-pgn pgn
application/x-cpio cpio
application/x-csh csh
application/x-director dcr dir dxr
application/x-dvi dvi
application/x-futuresplash spl
application/x-gtar gtar
application/x-hdf hdf
application/x-httpd-php .php .php4 .php3 .phtml
application/x-httpd-php-source .phps
application/x-javascript js
application/x-koan skp skd skt skm
application/x-latex latex
application/x-netcdf nc cdf
application/x-pkcs7-crl .crl
application/x-sh sh
application/x-shar shar
application/x-shockwave-flash swf
application/x-stuffit sit
application/x-sv4cpio sv4cpio
application/x-sv4crc sv4crc
application/x-tar tar .tgz
application/x-tcl tcl
application/x-tex tex
application/x-texinfo texinfo texi
application/x-troff t tr roff
application/x-troff-man man
application/x-troff-me me
application/x-troff-ms ms
application/x-ustar ustar
application/x-wais-source src
application/x-x509-ca-cert .crt
application/xhtml+xml xhtml xht
application/xml xml xsl
application/xml-dtd dtd
application/xslt+xml xslt
application/zip zip
audio/basic au snd
audio/midi mid midi kar
audio/mpeg mpga mp2 mp3
audio/x-aiff aif aiff aifc
audio/x-mpegurl m3u
audio/x-pn-realaudio ram rm
audio/x-pn-realaudio-plugin rpm
audio/x-realaudio ra
audio/x-wav wav
chemical/x-pdb pdb
chemical/x-xyz xyz
image/bmp bmp
image/cgm cgm
image/gif gif
image/ief ief
image/jpeg jpeg jpg jpe
image/png png
image/svg+xml svg
image/tiff tiff tif
image/vnd.djvu djvu djv
image/vnd.wap.wbmp wbmp .wbmp
image/x-cmu-raster ras
image/x-icon ico
image/x-portable-anymap pnm
image/x-portable-bitmap pbm
image/x-portable-graymap pgm
image/x-portable-pixmap ppm
image/x-rgb rgb
image/x-xbitmap xbm
image/x-xpixmap xpm
image/x-xwindowdump xwd
model/iges igs iges
model/mesh msh mesh silo
model/vrml wrl vrml
text/calendar ics ifb
text/css css
text/html html htm .shtml
text/plain asc txt
text/richtext rtx
text/rtf rtf
text/sgml sgml sgm
text/tab-separated-values tsv
text/vnd.wap.wml wml .wml
text/vnd.wap.wmlscript wmls .wmls
text/x-setext etx
video/mpeg mpeg mpg mpe
video/quicktime qt mov
video/vnd.mpegurl mxu
video/x-msvideo avi
video/x-sgi-movie movie
x-conference/x-cooltalk ice

Adding a MIME Type

Adding a MIME type is very simple. Once in the MIME type section, simple enter in the MIME type that is being added and its extension(s) and click on add. Users can only edit or delete MIME types that are added by them, so keep this in mind. Once again, double check to make sure the MIME type being added isn't already in the list, as this will cause conflicts between the two, even if it's to the same extension.

To delete a MIME type, simple select it from the drop down list and then click on "Delete". This will remove it permanently from the user's account.

HOME  |   PRICING  |  DOMAINS  |  CREATE ACCOUNT  |  SUPPORT  |  LOGIN  |  CONTACT US


Copyright © 2006 FreeCpanels.com. All rights reserved.  v2.7.5