Mime类型与文件后缀对照表

方便iis中或其他服务器对相应的文件进行解析

成都创新互联公司专业为企业提供沂南网站建设、沂南做网站、沂南网站设计、沂南网站制作等企业网站建设、网页设计与制作、沂南企业网站模板建站服务,十载沂南做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

有一些格式上传后无法下载或访问,需要设置MIME,

在主机管理》管理》设置MIME,里添加,比如.flv就需要设置后才能访问

文件后缀

MIME

备注

*.avi

video/x-msvideo

视频文件

*.aif *.aiff *.aifc

audio/x-aiff

声音文件

*.au *.snd

audio/basic

声音文件

*.ai *.eps *.ps

application/postscript


*.asd *.asn

application/astound


*.bin *.exe *.com *.dll *.class

application/octet-stream

二进制数据文件

*.bin

application/x-macbinary


*.csv

text/comma-separated-values


*.css

text/css

Css(样式表文件)

*.dwg

application/acad

AutoCAD文件

*.dxf

application/dxf

AutoCAD文件

*.dcr *.dir *.dxr

application/x-director


*.doc *.dot

application/msword

Word类型文件

*.gz

application/gzip

GNU 压缩格式文件

*.gif

image/gif


*.hlp *.chm

application/mshelp


*.htm *.html *.shtml

text/html


*.js

text/javascript


*.jpeg *.jpg *.jpe

image/jpeg


*.mpeg *.mpg *.mpe

video/mpeg


*.mp3

audio/mpeg


*.qt *.mov

video/quicktime


*.mdb

application/msaccess


*.ppt *.ppz *.pps *.pot

application/mspowerpoint


*.pdf

application/pdf


*.rar

application/octet-stream


*.rtf

application/rtf


*.rtx

text/richtext


*.ram *.ra

audio/x-pn-realaudio


*.rm *.rmvb

application/vnd.rn-realmedia


*.swf *.cab

application/x-shockwave-flash


*.txt

text/plain


*.xls *.xla

application/msexcel


*.z

application/x-compress


*.zip

application/x-zip-compressed


Name

MIME Type / Internet Media Type

File Extension

More Details

3D Crossword Plugin

application/vnd.hzn-3d-crossword

.x3d

IANA: 3D Crossword Plugin

3GP

video/3gpp

.3gp

Wikipedia: 3GP

3GP2

video/3gpp2

.3g2

Wikipedia: 3G2

3GPP MSEQ File

application/vnd.mseq

.mseq

IANA: 3GPP MSEQ File

3M Post It Notes

application/vnd.3m.post-it-notes

.pwn

IANA: 3M Post It Notes

3rd Generation Partnership Project - Pic Large

application/vnd.3gpp.pic-bw-large

.plb

3GPP

3rd Generation Partnership Project - Pic Small

application/vnd.3gpp.pic-bw-small

.psb

3GPP

3rd Generation Partnership Project - Pic Var

application/vnd.3gpp.pic-bw-var

.pvb

3GPP

3rd Generation Partnership Project - Transaction Capabilities Application Part

application/vnd.3gpp2.tcap

.tcap

3GPP

7-Zip

application/x-7z-compressed

.7z

Wikipedia: 7-Zip

AbiWord

application/x-abiword

.abw

Wikipedia: AbiWord

Ace Archive

application/x-ace-compressed

.ace

Wikipedia: ACE

Active Content Compression

application/vnd.americandynamics.acc

.acc

IANA: Active Content Compression

ACU Cobol

application/vnd.acucobol

.acu

IANA: ACU Cobol

ACU Cobol

application/vnd.acucorp

.atc

IANA: ACU Cobol

Adaptive differential pulse-code modulation

audio/adpcm

.adp

Wikipedia: ADPCM

Adobe (Macropedia) Authorware - Binary File

application/x-authorware-bin

.aab

Wikipedia: Authorware

Adobe (Macropedia) Authorware - Map

application/x-authorware-map

.aam

Wikipedia: Authorware

Adobe (Macropedia) Authorware - Segment File

application/x-authorware-seg

.aas

Wikipedia: Authorware

Adobe AIR Application

application/vnd.adobe.air-application-installer-package+zip

.air

Building AIR Applications

Adobe Flash

application/x-shockwave-flash

.swf

Wikipedia: Adobe Flash

Adobe Flex Project

application/vnd.adobe.fxp

.fxp

IANA: Adobe Flex Project

Adobe Portable Document Format

application/pdf

.pdf

Adobe PDF

Adobe PostScript Printer Description File Format

application/vnd.cups-ppd

.ppd

IANA: Cups

Adobe Shockwave Player

application/x-director

.dir

Wikipedia: Adobe Shockwave Player

Adobe XML Data Package

application/vnd.adobe.xdp+xml

.xdp

Wikipedia: XML Data Package

Adobe XML Forms Data Format

application/vnd.adobe.xfdf

.xfdf

Wikipedia: XML Portable Document Format

Advanced Audio Coding (AAC)

audio/x-aac

.aac

Wikipedia: AAC

Ahead AIR Application

application/vnd.ahead.space

.ahead

IANA: Ahead AIR Application

AirZip FileSECURE

application/vnd.airzip.filesecure.azf

.azf

IANA: AirZip

AirZip FileSECURE

application/vnd.airzip.filesecure.azs

.azs

IANA: AirZip

Amazon Kindle eBook format

application/vnd.amazon.ebook

.azw

Kindle Direct Publishing

AmigaDE

application/vnd.amiga.ami

.ami

IANA: Amiga

Andrew Toolkit

application/andrew-inset

N/A

IANA - Andrew Inset

Android Package Archive

application/vnd.android.package-archive

.apk

Wikipedia: APK File Format

ANSER-WEB Terminal Client - Certificate Issue

application/vnd.anser-web-certificate-issue-initiation

.cii

IANA: ANSWER-WEB

ANSER-WEB Terminal Client - Web Funds Transfer

application/vnd.anser-web-funds-transfer-initiation

.fti

IANA: ANSWER-WEB

Antix Game Player

application/vnd.antix.game-component

.atx

IANA: Antix Game Component

Apple Installer Package

application/vnd.apple.installer+xml

.mpkg

IANA: Apple Installer

Applixware

application/applixware

.aw

Vistasource

Archipelago Lesson Player

application/vnd.hhe.lesson-player

.les

IANA: Archipelago Lesson Player

Arista Networks Software Image

application/vnd.aristanetworks.swi

.swi

http://myzitong.com/article/dopjo.html