日期:2014-05-16  浏览次数:21470 次

IIS服务器自定义MIME类型大全(408种)
windows 2003安装好IIS之后默认是支持.shtml的,只要在“WEB服务扩展”允许“在服务器前端的包含文件”即可。
windows 2000,则需在IIS里添加一个应用程序扩展名映射。
可执行文件在: C:\WINDOWS\system32\inetsrv\ssinc.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
.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 appl