解决ie浏览器下载apk或ipa变为zip
Posted 鴻飛
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决ie浏览器下载apk或ipa变为zip相关的知识,希望对你有一定的参考价值。
Tomcat/conf/web.xml
<mime-mapping>
<extension>apk</extension>
<mime-type>application/vnd.android.package-archive</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ipa</extension>
<mime-type>application/vnd.iphone</mime-type>
</mime-mapping>
text/vnd.sun.j2me.app-descriptor jad;
application/java-archive jar war ear;
application/x-java-archive-diff jardiff;
application/vnd.android.package-archive apk;
application/vnd.ms-cab-compressed cab;
application/octet-stream bin exe dll;
application/vnd.symbian.install sis;
x-epoc/x-sisx-app sisx;
application/iphone pxl ipa;
application/vnd.palm prc pdb;
application/vnd.webos.ipk ipk;
application/vnd.rim.cod cod;
application/mrp mrp;
x-nokia-widget wgz;
application/octet-stream deb;
以上是关于解决ie浏览器下载apk或ipa变为zip的主要内容,如果未能解决你的问题,请参考以下文章
APK IPA --------------- iis7如何添加mime类型支持所有后缀名文件下载的方法(解决特殊后缀文件无法下载的问题)