Chinaunix首页 | 论坛 | 博客
  • 博客访问: 567916
  • 博文数量: 113
  • 博客积分: 7005
  • 博客等级: 少将
  • 技术积分: 1275
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-16 11:15
文章分类

全部博文(113)

文章存档

2008年(18)

2007年(17)

2006年(78)

我的朋友

分类: 系统运维

2008-08-01 12:55:20

下面列出常用的文件对应的MIME类型:

Mime-Types(mime类型)              Dateiendung(扩展名)             Bedeutung
application/msexcel                   *.xls *.xla                       Microsoft Excel Dateien
application/mshelp                    *.hlp *.chm             Microsoft Windows Hilfe Dateien
application/mspowerpoint          *.ppt *.ppz *.pps *.pot         Microsoft Powerpoint Dateien
application/msword                   *.doc *.dot             Microsoft Word Dateien
application/octet-stream            *.exe              exe
application/pdf                         *.pdf             Adobe PDF-Dateien
application/postscript                *.ai *.eps *.ps         Adobe Postscript-Dateien
application/rtf                          *.rtf             Microsoft RTF-Dateien
application/x-httpd-php             *.php *.phtml         PHP-Dateien
application/x-javascript              *.js             serverseitige JavaScript-Dateien
application/x-shockwave-flash    *.swf *.cab             Flash Shockwave-Dateien
application/zip                         *.zip             ZIP-Archivdateien
audio/basic                             *.au *.snd             Sound-Dateien
audio/mpeg                            *.mp3             MPEG-Dateien
audio/x-midi                            *.mid *.midi             MIDI-Dateien
audio/x-mpeg                         *.mp2             MPEG-Dateien
audio/x-wav                           *.wav             Wav-Dateien
image/gif                               *.gif             GIF-Dateien
image/jpeg                            *.jpeg *.jpg *.jpe         JPEG-Dateien
image/x-windowdump             *.xwd             X-Windows Dump
text/css                                *.css             CSS Stylesheet-Dateien
text/html                              *.htm *.html *.shtml         -Dateien
text/javascript                       *.js             JavaScript-Dateien
text/plain                             *.txt             reine Textdateien
video/mpeg                          *.mpeg *.mpg *.mpe         MPEG-Dateien
video/vnd.rn-realvideo            *.rmvb              realplay-Dateien
video/quicktime                     *.qt *.mov             Quicktime-Dateien
video/vnd.vivo                       *viv *.vivo             Vivo-Dateien

flv application/octet-stream
application/x-shockwave-flash
 
 
如果你的电脑,WEB服务器是IIS
IIS--默认网站属性-->http 头-->MIME映射 -->文件类型 -->新类型
.wml text/vnd.wap.wml
.wmlc application/vnd.wap.wmlc
.wmls text/vnd.wap.wmlscript
.wmlsc application/vnd.wap.wmlscriptc
.wbmp image/vnd.wap.wbmp
   如果你的电脑,WEB服务器是Apache
Apache安装目录下的conf/mime.types文件
增加:
text/vnd.wap.wml .wml
image/vnd.wap.wbmp .wbmp
application/vnd.wap.wmlc .wmlc
text/vnd.wap.wmls .wmls
application/vnd.wap.wmlsc .wmlsc

支持java下载:在iis中需要添加
.jad text/vnd.sun.j2me.app-descriptor
.jar application/java-archive
支持sis文件下载:在iis中需要添加
.sis application/vnd.symbian.install
阅读(22730) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~