Solution to 404 error when downloading apk file from IIS server

Solution to 404 error when downloading apk file from IIS server

Recently, when using IIS as a server, the apk file has been uploaded to the server, but it cannot be downloaded, reporting a 404 error (not found). The screenshot is as follows:

Solution:

Add the MIME type in IIS Manager, as shown below:

Add the following content:

The file extension is: .apk, and the MIME type is: application/octet-stream

You can also add it like this: File extension: .apk MIME type: application/vnd.android.package-archive

Finally tested and the problem was solved.

<<:  A brief analysis of the usage of USING and HAVING in MySQL

>>:  React+TypeScript project construction case explanation

Recommend

Vue implements form validation function

This article mainly describes how to implement fo...

Detailed explanation of using Nginx reverse proxy to solve cross-domain problems

question In the previous article about cross-doma...

Win10 64-bit MySQL8.0 download and installation tutorial diagram

How do I download MySQL from the official website...

Vue implements file upload and download

This article example shares the specific code of ...

CSS web page responsive layout to automatically adapt to PC/Pad/Phone devices

Preface There are many devices nowadays, includin...

Summary of block-level elements, inline elements, and variable elements

Block element p - paragraph pre - format text tabl...

How to compare two database table structures in mysql

During the development and debugging process, it ...

What I learned while building my own blog

<br />In one year of blogging, I have person...

Use of align-content in flex layout line break space

1. The effect diagram implemented in this article...

Common naming rules for CSS classes and ids

Public name of the page: #wrapper - - The outer e...

How to set mysql to case insensitive

mysql set to case insensitive Windows Go to the d...

Super simple qps statistics method (recommended)

Statistics of QPS values ​​in the last N seconds ...

Detailed explanation of how to configure Nginx web server sample code

Overview Today we will mainly share how to config...

Nofollow makes the links in comments and messages really work

Comments and messages were originally a great way...

MySQL 8.0.18 installation and configuration method graphic tutorial under MacOS

This article records the installation of MySQL 8....