!
也想出现在这里? 联系我们
广告位
当前位置:首页>教程分享>服务器教程>设置MIME让其支持android和Iphone的更新下载

设置MIME让其支持android和Iphone的更新下载

application/iphone产生的原因是浏览器下载pxl、apk文件后,因为在mime中找不到相应的配置,则ie会依据文件类型指定文件扩展名,这就导致文件扩展名换成了zip。win 2008 iiS7中会出现404不能下载,那么我们就必须把不同类型的文件加上mime设置。

Android APP的MIME:
 
文件扩展名:.apk MIME类型:application/vnd.android.package-archive
 
iPhone APP的MIME:
 
文件扩展名:.ipa MIME类型:application/octet-stream.ipa

解决方案如下:

在iiS7中

设置MIME让其支持android和Iphone的更新下载

 设置MIME让其支持android和Iphone的更新下载

用于WAP 服务器的MIME类型有:  

MRP文件(国内普遍的手机)    .mrp application/octet-stream    

IPA文件(IPHONE)    .ipa application/iphone-package-archive    

.deb application/x-debian-package-archive    

APK文件(安卓系统)    .apk application/vnd.android-package-archive    

CAB文件(Windows Mobile)    .cab application/vnd.cab-com-archive    

XAP文件(Windows Phone 7)    .xap application/x-silverlight-app    

SIS文件(symbian平台/S60V1)    .sis application/vnd.symbian.install-archive *(下有)    

SISX文件(symbian平台/S60V3/V5)    .sisx application/vnd.symbian.epoc/x-sisx-app    

JAR、JAD文件(JAVA平台手机通用格式)    .jar .jad下面有

格式前面为后辍名,后面为对应的MIME型(例如:rar application/x-rar-compressed 表示.RAR对应的是application/x-rar-compressed )

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

epub application/epub+zip

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

<p style=\"padding: 0px; margin-top: 0px; margin-

给TA打赏
共{{data.count}}人
人已打赏
服务器教程

云服务器.htaccess转换为web.config规则

2021-4-17 21:11:29

服务器教程

星外合并服务器后,重置权限功能失效

2021-4-17 21:11:31

声明 本站上的部份代码及教程来源于互联网,仅供网友学习交流,若您喜欢本文可附上原文链接随意转载。无意侵害您的权益,请发送邮件至 [email protected] 或点击右侧 私信:吉吉国王 反馈,我们将尽快处理。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
OneEase