默认的MIME类型关联是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
根据 Web 服务器的情况,不同的 MIME 类型可以与不同的文件扩展名相关联。下表列出了 Internet 信息服务 (IIS) 的默认关联。[@more@]
文件扩展名 MIME 类型
.hta
application/hta
.isp
application/x-internet-signup
.crd
application/x-mscardfile
.pmc
application/x-perfmon
.spc
application/x-pkcs7-certificates
.sv4crc
application/x-sv4crc
.bin
application/octet-stream
.clp
application/x-msclip
.mny
application/x-msmoney
.p7r
application/x-pkcs7-certreqresp
.evy
application/envoy
.p7s
application/pkcs7-signature
.eps
application/postscript
.setreg
application/set-registration-initiation
.xlm
application/vnd.m*-**cel
.cpio
application/x-cpio
.dvi
application/x-dvi
.p7b
application/x-pkcs7-certificates
.doc
application/msword
.dot
application/msword
.p7c
application/pkcs7-mime
.ps
application/postscript
.wps
application/vnd.ms-works
.csh
application/x-csh
.iii
application/x-iphone
.pmw
application/x-perfmon
.man
application/x-troff-man
.hdf
application/x-hdf
.mvb
application/x-msmediaview
.texi
application/x-texinfo
.setpay
application/set-payment-initiation
.stl
application/vndms-pkistl
.mdb
application/x-msaccess
.oda
application/oda
.hlp
application/winhlp
.nc
application/x-netcdf
.sh
application/x-sh
.shar
application/x-shar
.tcl
application/x-tcl
.ms
application/x-troff-ms
.ods
application/oleobject
.axs
application/olescript
.xla
application/vnd.m*-**cel
.mpp
application/vnd.ms-project
.dir
application/x-director
.sit
application/x-stuffit
.*
application/octet-stream
.crl
application/pkix-crl
.ai
application/postscript
.xls
application/vnd.m*-**cel
.wks
application/vnd.ms-works
.ins
application/x-internet-signup
.pub
application/x-mspublisher
.wri
application/x-mswrite
.spl
application/futuresplash
.hqx
application/mac-binhex40
.p10
application/pkcs10
.xlc
application/vnd.m*-**cel
.xlt
application/vnd.m*-**cel
.dxr
application/x-director
.js
application/x-javascript
.m13
application/x-msmediaview
.trm
application/x-msterminal
.pml
application/x-perfmon
.me
application/x-troff-me
.wcm
application/vnd.ms-works
.latex
application/x-latex
.m14
application/x-msmediaview
.wmf
application/x-msmetafile
.cer
application/x-x509-ca-cert
.zip
application/x-zip-compressed
.p12
application/x-pkcs12
.pfx
application/x-pkcs12
.der
application/x-x509-ca-cert
.pdf
application/pdf
.xlw
application/vnd.m*-**cel
.texinfo
application/x-texinfo
.p7m
application/pkcs7-mime
.pps
application/vnd.ms-powerpoint
.dcr
application/x-director
.gtar
application/x-gtar
.sct
text/scriptlet
.fif
application/fractal*
.**e
application/octet-stream
.ppt
application/vnd.ms-powerpoint
.sst
application/vndms-pkicertstore
.pko
application/vndms-pkipko
.scd
application/x-msschedule
.tar
application/x-tar
.roff
application/x-troff
.t
application/x-troff
.p**
*pplication/pics-rules
.rtf
application/rtf
.pot
application/vnd.ms-powerpoint
.wdb
application/vnd.ms-works
.bcpio
application/x-bcpio
.dll
application/x-msdownload
.pma
application/x-perfmon
.pmr
application/x-perfmon
.tr
application/x-troff
.src
application/x-wais-source
.acx
application/internet-property-stream
.cat
application/vndms-pkiseccat
.cdf
application/x-cdf
.tgz
application/x-compressed
.sv4cpio
application/x-sv4cpio
.tex
application/x-tex
.ustar
application/x-ustar
.crt
application/x-x509-ca-cert
.ra
audio/x-pn-realaudio
.mid
audio/mid
.au
audio/basic
.snd
audio/basic
.wav
audio/wav
.aifc
audio/aiff
.m3u
audio/x-mpegurl
.ram
audio/x-pn-realaudio
.aiff
audio/aiff
.rmi
audio/mid
.aif
audio/x-aiff
.mp3
audio/mpeg
.gz
application/x-gzip
.z
application/x-compress
.tsv
text/tab-separated-values
.xml
text/xml
.323
text/h423
.htt
text/webviewhtml
.stm
text/html
.html
text/html
.xsl
text/xml
.htm
text/html
.cod
image/cis-cod
.ief
image/ief
.pbm
image/x-portable-bitmap
.tiff
image/tiff
.ppm
image/x-portable-pixmap
.rgb
image/x-rgb
.dib
image/bmp
.jpeg
image/jpeg
.cmx
image/x-cmx
.pnm
image/x-portable-anymap
.jpe
image/jpeg
.jfif
image/pjpeg
.tif
image/tiff
.jpg
image/jpeg
.xbm
image/x-xbitmap
.ras
image/x-cmu-raster
.gif
image/gif
看完上述内容,你们掌握默认的MIME类型关联是怎样的的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。