I made a website by myself, which is a pure static page. The download contains an app file, so that the user can download it as soon as he clicks it, but after it is uploaded to the server, HE CLICKS download, appears
HTTP Error 404.3-not found the page you requested cannot be provided due to scaling configuration issues. If the page is a script, add a handler. If you want to download the file, add the mime ing.
The solution is to add the relevant APK to the MIME type in IIS. The article on the Internet will help me:
Unable to provide the page error solution for your request due to expansion configuration problems
Because a download program requires URL download.
So I tried to open a file such as main. ini in the browser, so the browser reported an error:
HTTP Error 404.3 not found the page you requested cannot be provided due to scaling configuration problems. If the page is a script, add a handler. If you want to download the file, add the mime ing.
Solution:
Open IIS-website-functional view-MIME type,
Double-click it and configure the corresponding values:
Apk mime type
Mime (Multipurpose Internet Mail Extensions) multi-purpose Internet Mail Extension, which sets a type of extension file to be opened by an application. When the extension file is accessed, the browser automatically opens the application with the specified application. It is used to specify custom client file names and open media files.
Mime Type of APK: Application/vnd. Android
OpenInternet Service Manager Internet service manager --> website properties --> HTTP header (MIME type) --> New
Extended name.apk type (MIME) application/vnd. Android
403 the page you requested cannot be provided due to scaling configuration issues