Download .apk/IPA files supported by Apache/IIS/nginxon the server

Source: Internet
Author: User

The server iissupports. APK File Download settings

The iisserver cannot download the .apk file because no. APK file exists in the iis mime, so it cannot be downloaded.

The iisserver cannot download the .apk file. Solution: If .apk cannot be downloaded because it does not have mime, you can add a MIME type.

Steps for iisserver to download the .apk file:

Open IIS Service Manager, find the server, right-click Properties, and open IIS service properties;
Click the "MIME type" button under the MIME type to open the MIME type setting window;
Click "new" to create a new MIME type;
",
In the MIME type field, enter the MIME type "application/vnd. Android. Package-Archive" of the APK"

Click OK to save the settings.
Restart IIS to make the settings take effect.

Server apachesupports. APK File Download settings


In the conf/mime. types file in the Apache installation directory, add the following statement to specify the MIME type of the APK file as application/vnd. Android. Package-archive:

Application/vnd. Android. Package-archive APK;
 

Restart Apache.


Server nginxsupports. APK File Download settings

APK and. IPA are extensions of Android apps and iOS apps respectively.
 
If you download these files with the Suffix in your browser, they will be automatically renamed as ZIP files.
 
Of course, you can manually modify the suffix after downloading and install it.
 
If you want to download the suffix apk ipa, you can modify the mime. types in the/usr/local/nginx/conf directory.
 
Add the following configuration to restart nginx
 
Application/vnd. Android. Package-archive APK;
Application/iPhone pxl IPA;

Download .apk/IPA files supported by Apache/IIS/nginxon the server

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.