Upload the FLV or MP4 file to the server and enter the correct address the HTTP protocol is used to access the 404 error that always appears "cannot find the page"? This means that the MP4 format file is not recognized by the server, which is why the corresponding MIME type is not set in IIS. So how do you set MIME types?
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 that looks like this (I'm right-clicking a folder instead of a site, so you might be able to turn on the site more than my options. Anyway, you can open the window by clicking on the HTTP header:
The specific steps for the server to increase the MIME type mapping settings in the 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 Enter the .mp4
, enter "" In the MIME type box application/octet-stream
, and then OK. The MIME type is just a description and does not have to be typed " 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 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 as "Flv-application/octet-stream."
MIME type is the type of file that sets an extension to open with an application, and when the file is accessed, the browser automatically opens with the specified application. Used to specify some client-defined file names and how some media files are opened.
The following is a list of MIME types for commonly used files:
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 |
|
*.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 |
Many webmasters want to let their Web server support Flv,f4v,mp4 online playback, this article will introduce the implementation of this function under the IIS platform to Win7 system, for example, for win2000,2003,2008.
1. Open IIS Manager and double-click MIME type:
2, click on the right side of the "add", in the pop-up box, file extension fill .f4v
, MIME type fill video/f4v
, click "OK" after F4V added success;
3, click on the right side of the "add", in the pop-up box, file extension fill .mp4
, MIME type fill video/mp4
, click "OK" after MP4 added success;
4, under Win2003, open IIS Manager, on the left "web site" on the right key properties:
5, in the pop-up interface switch to the "HTTP header", click "MIME Type", and then click "New":
6, extension .flv
, MIME type application/octet-stream
, click "OK", FLV added successfully
7, with the same method to add F4V and mp4 can be, WIN7 default support FLV does not need to add, after the addition of the restart IIS can be.
Attention matters
IIS will need to be restarted after the MIME type has been added
Win7 and 2003,2008 a little bit different, but the same principle.