IIS如何增加處理不同的文件擴展名(MIME類型)?

2024-04-30    分類: 網站建設

常見文件http中content-type頭值(MIME類型)

方法如下:IIS -> 網站 -> 屬性 ->HTTP頭 -> MIME類型 -> 新建 擴展名:.jst / MIME類型:text/html -> 確定

常見文件http中content-type頭值(MIME類型)

.ppt - application/mspowerpoint

.ai - application/postscript

.aif - audio/x-aiff

.aifc - audio/x-aiff

.aiff - audio/x-aiff

.asc - text/plain

.au - audio/basic

.avi - video/x-msvideo

.bcpio - application/x-bcpio

.bin - application/octet-stream

.c - text/plain

.cc - text/plain

.ccad - application/clariscad

.cdf - application/x-netcdf

.class - application/octet-stream

.cpio - application/x-cpio

.cpt - application/mac-compactpro

.csh - application/x-csh

.css - text/css

.dcr - application/x-director

.dir - application/x-director

.dms - application/octet-stream

.doc - application/msword

.drw - application/drafting

.dvi - application/x-dvi

.dwg - application/acad

.dxf - application/dxf

.dxr - application/x-director

.eps - application/postscript

.etx - text/x-setext

.exe - application/octet-stream

.ez - application/andrew-inset

.f - text/plain

.f90 - text/plain

.fli - src="/upload/pic22/p>

.gif - image/gif

.gtar - application/x-gtar

.gz - application/x-gzip

.h - text/plain

.hdf - application/x-hdf

.hh - text/plain

.hqx - application/mac-binhex40

.htm - text/html

.html - text/html

.ice - x-conference/x-cooltalk

.ief - image/ief .iges - model/iges

.igs - model/iges .ips - application/x-ipscript

.ipx - application/x-ipix

.jpe - src="/upload/pic22/p>

.jpeg - src="/upload/pic22/p>

.jpg - image/jpeg

.js - application/x-javascript

.kar - audio/midi

.latex - application/x-latex

.lha - application/octet-stream

.lsp - application/x-lisp

.lzh - application/octet-stream

.m - text/plain

.man - application/x-troff-man

.me - application/x-troff-me

.mesh - model/mesh .mid - audio/midi

.midi - audio/midi

.mif - application/vnd.mif

.mime - www/mime .mov - video/quicktime .movie - video/x-sgi-movie .mp2 - audio/mpeg .mp3 - audio/mpeg .mpe - video/mpeg .mpeg - video/mpeg .mpg - video/mpeg .mpga - audio/mpeg .ms - application/x-troff-ms .msh - model/mesh .nc - application/x-netcdf .oda - application/oda .pbm - image/x-portable-bitmap .pdb - chemical/x-pdb .pdf - application/pdf .pgm - image/x-portable-graymap .pgn - application/x-chess-pgn .png - image/png .pnm - image/x-portable-anymap .pot - application/mspowerpoint .ppm - image/x-portable-pixmap .pps - application/mspowerpoint .ppt - application/mspowerpoint .ppz - application/mspowerpoint .pre - application/x-freelance .prt - application/pro_eng .ps - application/postscript .qt - video/quicktime .ra - audio/x-realaudio .ram - audio/x-pn-realaudio .ras - image/cmu-raster .rgb - image/x-rgb .rm - audio/x-pn-realaudio .roff - application/x-troff .rpm - audio/x-pn-realaudio-plugin .rtf - text/rtf .rtx - text/richtext .scm - application/x-lotusscreencam .set - application/set .sgm - text/sgml .sgml - text/sgml .sh - application/x-sh .shar - application/x-shar .silo - model/mesh .sit - application/x-stuffit .skd - application/x-koan .skm - application/x-koan .skp - application/x-koan .skt - application/x-koan .smi - application/smil .smil - application/smil .snd - audio/basic .sol - application/solids .spl - application/x-futuresplash .src - application/x-wais-source

.step - application/STEP

.stl - application/SLA

.stp - application/STEP

.sv4cpio - application/x-sv4cpio

.sv4crc - application/x-sv4crc

.swf - application/x-shockwave-flash .t - application/x-troff .tar - application/x-tar .tcl - application/x-tcl .tex - application/x-tex .texi - application/x-texinfo .texinfo - application/x-texinfo .tif - image/tiff .tiff - image/tiff .tr - application/x-troff .tsi - audio/TSP-audio .tsp - application/dsptype .tsv - text/tab-separated-values .txt - text/plain .unv - application/i-deas .ustar - application/x-ustar .vcd - application/x-cdlink .vda - application/vda .viv - video/vnd.vivo .vivo - video/vnd.vivo .vrml - model/vrml .wav - audio/x-wav .wrl - model/vrml .xbm - image/x-xbitmap .xlc - application/vnd.ms-excel .xll - application/vnd.ms-excel .xlm - application/vnd.ms-excel .xls - application/vnd.ms-excel .xlw - application/vnd.ms-excel .xml - text/xml .xpm - image/x-xpixmap .xwd - image/x-xwindowdump .xyz - chemical/x-pdb .zip - application/zip. ---------------------------------------------------------------------------------------- IIS6的MIME類型設置由于 IIS6 默認沒有添加上一些 MIME ,在下載這些文件時會提示找不到文件,所以要手動添加上去,而且還要在IIS中,進入網站的屬性,把主目錄里面的執(zhí)行權限設置成純腳本。 Mime-Types(mime類型)Dateiendung(擴展名) 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*.exeexe application/pdf *.pdf Adobe PDF-Dateien application/postscript*.ai *.eps *.ps Adobe Postscript-Dateien application/rtf*.rtf Microsoft RTF-Dateien application/x-httpd-php *.php *.phtml PHP-Dateien application/x-javascript*.js serverseitige JavaScript-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 src="/upload/pic22/ GIF-Dateien src="/upload/pic22/jpeg*.jpeg src="/upload/pic22/ *.jpe JPEG-Dateien image/x-windowdump *.xwd X-Windows Dump text/css*.css CSS Stylesheet-Dateien text/html*.htm *.html *.shtml -Dateien text/javascript *.js JavaScript-Dateien text/plain *.txt reine Textdateien video/mpeg*.mpeg *.mpg *.mpe MPEG-Dateien video/vnd.rn-realvideo*.rmvbrealplay-Dateien video/quicktime *.qt *.mov Quicktime-Dateien video/vnd.vivo *viv *.vivo Vivo-Dateien ---------------------------------------------------------------------------------------- IIS WAP服務器的MIME類型配置 如何讓手機訪問WAP網站服務器? 這其實只需要一部支持wap的手機,一臺電腦,一個網關(是硬件,一般由電信服務商提供)就能夠了,網關能夠臨時用電信的,所以您只需要有手機和電腦就能夠了。 下載型WAP服務器 .amr audio/amr .pmdaudio/pmd .3gp video/3gpp .cab application/vnd.smartpohone .gif image/gif .hme application/vnd.smartphone.thm .jad text/vnd.sun.j2me.app-descriptor .jar application/java-archive .jpg image/jpeg .mid audio/midi .mp3 audio/x-mpeg .mp4 video/mp4 .ogg application/ogg .pdb application/ebook .rm video/rm .rng application/vnd.nokia.ringing-tone .sdt application/vnd.sie.thm .sis application/vnd.symbian.install .thm application/vnd.eri.thm .tsk application/vnd.ppc.thm .umd application/umd .utz application/vnd.uiq.thm .wav audio/x-wav .wbmp image/vnd.wap.wbmp .wml text/vnd.wap.wml .wmlc application/vnd.wap.wmlc .wmls text/vnd.wap.wmlscript .wmlsc application/vnd.wap.wmlscriptc .wmv video/x-ms-wmv .wsc application/vnd.wap/wmlscriptc ---------------------------------------------------------------------------------------- 一般WAP服務器 .wbmp image/vnd.wap.wbmp .wml text/vnd.wap.wml .wmlc application/vnd.wap.wmlc .wmls text/vnd.wap.wmlscript .wmlsc application/vnd.wap.wmlscriptc .wmv video/x-ms-wmv .wsc application/vnd.wap/wmlscriptc .gif image/gif .jpg image/jpeg .bmp image/bmp

本文題目:IIS如何增加處理不同的文件擴展名(MIME類型)?
分享路徑:http://muchs.cn/news33/327033.html

成都網站建設公司_創(chuàng)新互聯(lián),為您提供靜態(tài)網站標簽優(yōu)化、服務器托管商城網站、響應式網站、動態(tài)網站

廣告

聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

網站優(yōu)化排名