Common MIME Types (MIME type settings for Flv,mp4) (reproduced)

Source: Internet
Author: User

Reprint Address: http://www.cuplayer.com/player/Help/2011/0625/83.html

Maybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404 error? This indicates that the MP4 format file is not recognized by the server, in fact, this is the reason why the corresponding MIME type is not set in IIS. So how do you set the MIME type?

Maybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404 error? This indicates that the MP4 format file is not recognized by the server, in fact, this is the reason why the corresponding MIME type is not set in IIS. So how do you set the MIME type?

If you open the MP4 file, you need to right-click the Web site or directory you want to change in Internet Information (IIS) Manager, and you can open a window like this (I right-clicked the folder instead of the site, so if you right-clicked the site, you might have opened it more than my options, Anyway, you can click on the HTTP header to open what kind of window):

  The specific steps for the server to increase the MIME type mapping setting in MP4 format are:
Start > Control Panel > Administrative Tools > Internet Information Services (IIS Manager), locate your Web site, right-click > Properties > HTTP Header > MIME type > New, in the extension box, and then click Enter ". mp4", enter "Application/octet-stream" in the "MIME type" box, and then OK. "MIME Type" is just a description and does not have to be entered "Flv-application/octet-stream".

  The specific steps for the server to increase the MIME type mapping settings in FLV format are:
Start > Control Panel > Administrative Tools > Internet Information Services (IIS Manager), locate your Web site, right-click > Properties > HTTP Header > MIME type > New, in the extension box, and then click Enter ". flv", enter "Flv-application/octet-stream" in the "MIME type" box, and then OK. "MIME Type" is just a description and does not have to be entered "Flv-application/octet-stream".

A MIME type is a type of file that sets an extension that is opened by an application, and the browser automatically opens with the specified application when the extension file is accessed. Many are used to specify some client-customized file names, as well as some ways to open media files.

The MIME types for commonly used files are listed below:

mime-types (Mime type) dateiendung (filename extension) Bedeutung
Application/msexcel *.xls *.xla Microsoft Excel Dateien
Application/mshelp *.hlp *.chm Microsoft Windows Hilfe Dateien
Application/mspowerpoint *.ppt *.ppz *.pps *.pot Microsoft Powerpoint Dateien
Application/msword *.doc *.dot Microsoft Word Dateien

Application/octet-stream

*.exe Exe
Application/pdf *.pdf Adobe Pdf-dateien
application/post****** *.ai *.eps *.ps Adobe Post******-dateien
Application/rtf *.rtf Microsoft Rtf-dateien
application/x-httpd-php *.php *.phtml Php-dateien
application/x-java****** *.js Serverseitige Java******-dateien
Application/x-shockwave-flash *.swf *.cab Flash Shockwave-dateien
Application/zip *.zip Zip-archivdateien
Audio/basic *.au *.snd Sound-dateien
Audio/mpeg *.mp3 Mpeg-dateien
Audio/x-midi *.mid *.midi Midi-dateien
Audio/x-mpeg *.mp2 Mpeg-dateien
Audio/x-wav *.wav Wav-dateien
Image/gif *.gif Gif-dateien
Image/jpeg *.jpeg *.jpg *.jpe Jpeg-dateien
Image/x-windowdump *.xwd X-windows Dump
Text/css *.css CSS Stylesheet-dateien
Text/html *.htm *.html *.shtml -dateien
text/java****** *.js Java******-dateien
Text/plain *.txt Reine Textdateien
Video/mpeg *.mpeg *.mpg *.mpe Mpeg-dateien
Video/vnd.rn-realvideo *.rmvb Realplay-dateien
Video/quicktime *.QT *.mov Quicktime-dateien
Video/vnd.vivo *viv *.vivo Vivo-dateien

Common MIME Types (MIME type settings for Flv,mp4) (reproduced)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.