Common MIME types (set MIME types for FLV and MP4)

Source: Internet
Author: User

Maybe you may wonder why the 404 error "this page cannot be found" always occurs when I upload FLV or MP4 files to the server and enter the correct address to access the file through HTTP? This indicates that MP4 files cannot be identified by the server. In fact, this is the reason why the corresponding MIME type is not set in IIS. How can I set the MIME type?

To enable MP4 files, right-click the website or directory you want to change in "Internet Information (IIS) manager" to open a window like this (I right-click a folder instead of a site, therefore, if you right-click the site, there may be more options than my option cards. You can click the HTTP header to open a window anyway ):

Follow these steps to add MIME type ing settings in MP4 format on the server:
"Start"> "Control Panel"> "Administrative Tools"> "Internet Information Service (IIS manager)", find your website, right-click> "attribute"> "HTTP header"> "MIME type"> click "new", enter "application/octet-stream" in the "extension name" box, and then click "OK. The "MIME type" is only a description and does not have to be entered with "FLV-application/octet-stream ".

Follow these steps to add MIME type ing settings in FLV format to the server:
"Start"> "Control Panel"> "Administrative Tools"> "Internet Information Service (IIS manager)", find your website, right-click "properties"> "HTTP header"> "MIME type"> "new", and enter ". in the "FLV" and "MIME type" boxes, enter "FLV-application/octet-stream" and click "OK. The "MIME type" is only a description and does not have to be entered with "FLV-application/octet-stream ".

 

The MIME type is an application used to set the extension name of a file.ProgramWhen the file with the extension is accessed, the browser automatically opens the file with the specified application. It is used to specify custom client file names and open some media files.

 

 

 

 

The following lists the MIME types of common file pairs:

Mime-types (MIME type) Dateiendung (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

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.