apache后缀名支持 让apache支持apk ipk下载的方法
程序员文章站
2023-11-23 16:25:34
mime.types 文件在\conf\目录里面,添加如下内容:复制代码 代码如下:text/vnd.sun.j2me.app-descriptor jad; applic...
mime.types 文件在\conf\目录里面,添加如下内容:
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;
保存后重启apache即可。
复制代码 代码如下:
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;
保存后重启apache即可。
上一篇: 发一个css比较清爽的写法
下一篇: CSS控制图片大小-适应宽度
推荐阅读