返回大旺国际登录网站

什么是MIME类型?MIME类型大全

时间:2012-07-21 17:08来源:大旺国际登录网站www.zhixing123.cn 编辑:麦田守望者

MIME类型就是设定某种扩展名的文件用一种应用程序来打开的方式类型,当该扩展名文件被访问的时候,浏览器会自动使用指定应用程序来打开。多用于指定一些客户端自定义的文件名,以及一些媒体文件打开方式。

windows 2003安装好IIS之后默认是支撑.shtml的,只要在“WEB服务扩展”允许“在服务器前端的包含文件”即可。
windows 2000,则需在IIS里添加一个应用程序扩展名映射。
可实行文件在: C:WINDOWSsystem32inetsrvssinc.dll 。扩展名为:shtml/shtm
打开IIS管理器,打开“本地计算机”的属性——》MIME类型——》新建
后缀名:.shtml
MIME类型:text/html

后缀名:.shtm
Mime类型:text/html

然后点击确定。找到Web服务扩展(在IIS下面,与网站平行),把“在服务端的包含文件”扩展启用,就可以了。(必须重新启动IIS,否则还是无法访问!)
在IIS的定义中,.shtml是SSI组件的一种,必须要把这个启用了。然后你把解析.shtml的程序正确安装,就OK了。

MIME类型大全
application/vnd.lotus-1-2-3
* application/octet-stream
.7z application/octet-stream
.3gp video/3gpp
.aab application/x-authoware-bin
.aam application/x-authoware-map
.aas application/x-authoware-seg
.ai application/postscript
.aif audio/x-aiff
.aifc audio/x-aiff
.aiff audio/x-aiff
.als audio/X-Alpha5
.amc application/x-mpeg
.ani application/octet-stream
.asc text/plain
.asd application/astound
.asf video/x-ms-asf
.asn application/astound
.asp application/x-asap
.asx video/x-ms-asf
.au audio/basic
.avb application/octet-stream
.avi video/x-msvideo
.awb audio/amr-wb
.bcpio application/x-bcpio
.bin application/octet-stream
.bld application/bld
.bld2 application/bld2
.bmp application/x-MS-bmp
.bpk application/octet-stream
.bz2 application/x-bzip2
.cal image/x-cals
.ccn application/x-cnc
.cco application/x-cocoa
.cdf application/x-netcdf
.cgi magnus-internal/cgi
.chat application/x-chat
.class application/octet-stream
.clp application/x-msclip
.cmx application/x-cmx
.co application/x-cult3d-object
.cod image/cis-cod
.cpio application/x-cpio
.cpt application/mac-compactpro
.crd application/x-mscardfile
.csh application/x-csh
.csm chemical/x-csml
.csml chemical/x-csml
.css text/css
.cur application/octet-stream
.dcm x-lml/x-evm
.dcr application/x-director
.dcx image/x-dcx
.dhtml text/html
.dir application/x-director
.dll application/octet-stream
.dmg application/octet-stream
.dms application/octet-stream
.doc application/msword
.dot application/x-dot
.dvi application/x-dvi
.dwf drawing/x-dwf
.dwg application/x-autocad
.dxf application/x-autocad
.dxr application/x-director
.ebk application/x-expandedbook
.emb chemical/x-embl-dl-nucleotide
.embl chemical/x-embl-dl-nucleotide
.eps application/postscript
.eri image/x-eri
.es audio/echospeech
.esl audio/echospeech
.etc application/x-earthtime
.etx text/x-setext
.evm x-lml/x-evm
.evy application/x-envoy
.exe application/octet-stream
.fh4 image/x-freehand
.fh5 image/x-freehand
.fhc image/x-freehand
.fif image/fif
.fm application/x-maker
.fpx image/x-fpx
.fvi video/isivideo
.gau chemical/x-gaussian-input
.gca application/x-gca-compressed
.gdb x-lml/x-gdb
.gif image/gif
.gps application/x-gps
.gtar application/x-gtar
.gz application/x-gzip
.hdf application/x-hdf
.hdm text/x-hdml
.hdml text/x-hdml
.hlp application/winhlp
.hqx application/mac-binhex40
.htm text/html
.html text/html
.hts text/html
.ice x-conference/x-cooltalk
.ico application/octet-stream
.ief image/ief
.ifm image/gif
.ifs image/ifs
.imy audio/melody
.ins application/x-NET-Install
.ips application/x-ipscript
.ipx application/x-ipix
.it audio/x-mod
.itz audio/x-mod
.ivr i-world/i-vrml
.j2k image/j2k
.jad text/vnd.sun.j2me.app-descriptor
.jam application/x-jam
.jar application/java-archive
.jnlp application/x-java-jnlp-file
.jpe image/jpeg
.jpeg image/jpeg
.jpg image/jpeg
.jpz image/jpeg
.js application/x-javascript
.jwc application/jwc
.kjx application/x-kjx
.lak x-lml/x-lak
.latex application/x-latex
.lcc application/fastman
.lcl application/x-digitalloca
.lcr application/x-digitalloca
.lgh application/lgh
.lha application/octet-stream
.lml x-lml/x-lml
.lmlpack x-lml/x-lmlpack
.lsf video/x-ms-asf
.lsx video/x-ms-asf
.lzh application/x-lzh
.m13 application/x-msmediaview
.m14 application/x-msmediaview
.m15 audio/x-mod
.m3u audio/x-mpegurl
.m3url audio/x-mpegurl
.ma1 audio/ma1
.ma2 audio/ma2
.ma3 audio/ma3
.ma5 audio/ma5
.man application/x-troff-man
.map magnus-internal/imagemap
.mbd application/mbedlet
.mct application/x-mascot
.mdb application/x-msaccess
.mdz audio/x-mod
.me application/x-troff-me
.mel text/x-vmel
.mi application/x-mif
.mid audio/midi
.midi audio/midi
.mif application/x-mif
.mil image/x-cals
.mio audio/x-mio
.mmf application/x-skt-lbs
.mng video/x-mng
.mny application/x-msmoney
.moc application/x-mocha
.mocha application/x-mocha
.mod audio/x-mod
.mof application/x-yumekara
.mol chemical/x-mdl-molfile
.mop chemical/x-mopac-input
.mov video/quicktime
.movie video/x-sgi-movie
.mp2 audio/x-mpeg
.mp3 audio/x-mpeg
.mp4 video/mp4
.mpc application/vnd.mpohun.certificate
.mpe video/mpeg
.mpeg video/mpeg
.mpg video/mpeg
.mpg4 video/mp4
.mpga audio/mpeg
.mpn application/vnd.mophun.application
.mpp application/vnd.ms-project
.mps application/x-mapserver
.mrl text/x-mrml
.mrm application/x-mrm
.ms application/x-troff-ms
.mts application/metastream
.mtx application/metastream
.mtz application/metastream
.mzv application/metastream
.nar application/zip
.nbmp image/nbmp
.nc application/x-netcdf
.ndb x-lml/x-ndb
.ndwn application/ndwn
.nif application/x-nif
.nmz application/x-scream
.nokia-op-logo image/vnd.nok-oplogo-color
.npx application/x-netfpx
.nsnd audio/nsnd
.nva application/x-neva1
.oda application/oda
.oom application/x-AtlasMate-Plugin
.pac audio/x-pac
.pae audio/x-epac
.pan application/x-pan
.pbm image/x-portable-bitmap
.pcx image/x-pcx
.pda image/x-pda
.pdb chemical/x-pdb
.pdf application/pdf
.pfr application/font-tdpfr
.pgm image/x-portable-graymap
.pict image/x-pict
.pm application/x-perl
.pmd application/x-pmd
.png image/png
.pnm image/x-portable-anymap
.pnz image/png
.pot application/vnd.ms-powerpoint
.ppm image/x-portable-pixmap
.pps application/vnd.ms-powerpoint
.ppt application/vnd.ms-powerpoint
.pqf application/x-cprplayer
.pqi application/cprplayer
.prc application/x-prc
.proxy application/x-ns-proxy-autoconfig
.ps application/postscript
.ptlk application/listenup
.pub application/x-mspublisher
.pvx video/x-pv-pvx
.qcp audio/vnd.qcelp
.qt video/quicktime
.qti image/x-quicktime
.qtif image/x-quicktime
.r3t text/vnd.rn-realtext3d
.ra audio/x-pn-realaudio
.ram audio/x-pn-realaudio

------分隔线----------------------------
标签(Tag):C# C#实例教程 c#基础教程 C#源代码 c#技巧
------分隔线----------------------------
推荐内容
猜你感兴趣
XML 地图 | Sitemap 地图