Apache Environment download apk file into a zip file method solution

Source: Internet
Author: User
Tags mime file zip

The corresponding location of the Conf/mime.types file under the Apache installation directory, plus the following line of statements, specifies that the MIME type of the APK file is application/vnd.android.package-archive:

The code is as follows Copy Code


Application/vnd.android.package-archive apk;

Restart Apache

How to share some other formatting additions


Found a MIME file and shared it with Mr. Zhang's place.
The following are the configuration of various file name suffixes in the mime.types of Nginx:

The code is as follows Copy Code
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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.