首页 > 服务器 > Web服务器 > 正文

Mime类型与文件后缀对照表

2024-09-01 13:45:16
字体:
来源:转载
供稿:网友
方便iis中或其他服务器对相应的文件进行解析
有一些格式上传后无法下载或访问,需要设置MIME,
在主机管理》管理》设置MIME,里添加,比如.flv就需要设置后才能访问

文件后缀MIME备注

*.avivideo/x-msvideo视频文件

*.aif *.aiff *.aifcaudio/x-aiff声音文件

*.au *.sndaudio/basic声音文件

*.ai *.eps *.psapplication/postscript

*.asd *.asnapplication/astound

*.bin *.exe *.com *.dll *.classapplication/octet-stream二进制数据文件

*.binapplication/x-macbinary

*.csvtext/comma-separated-values

*.csstext/cssCss(样式表文件)

*.dwgapplication/acadAutoCAD文件

*.dxfapplication/dxfAutoCAD文件

*.dcr *.dir *.dxrapplication/x-director

*.doc *.dotapplication/mswordWord类型文件

*.gzapplication/gzipGNU 压缩格式文件

*.gifimage/gif

*.hlp *.chmapplication/mshelp

*.htm *.html *.shtmltext/html

*.jstext/javascript

*.jpeg *.jpg *.jpeimage/jpeg

*.mpeg *.mpg *.mpevideo/mpeg

*.mp3audio/mpeg

*.qt *.movvideo/quicktime

*.mdbapplication/msaccess

*.ppt *.ppz *.pps *.potapplication/mspowerpoint

*.pdfapplication/pdf

*.rarapplication/octet-stream

*.rtfapplication/rtf

*.rtxtext/richtext

*.ram *.raaudio/x-pn-realaudio

*.rm *.rmvbapplication/vnd.rn-realmedia

*.swf *.cabapplication/x-shockwave-flash

*.txttext/plain

*.xls *.xlaapplication/msexcel

*.zapplication/x-compress

*.zipapplication/x-zip-compressed

注:以上列出了较为常用的文件格式与MIME的对照关系
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表