IIS encountered an issue that the file could not be downloaded. In order for IIS to be able to download files with the extension ini, we need to do this: (in parentheses, the English version of the name)
Open IIS Manager (InternetInformationServices (IIS) Manager)
Select to your site. Right-click the button. Select Attribute (properties)
Click the HTTP Headers (httpheaders) tab
Click MIME Type (mimetypes)
Click "New"
In the extension (Extension) box, enter the file name extension, which is INI
In the MIME type (mimetypes) box, enter a description for the extension. This is Application/octet-stream.
Explain:
The purpose of entering Application/octet-stream in Mimetypes is to have IIS use the INI file as an EXE, prompting for the download.
Otherwise, a 404 hint appears or the content is displayed directly in the browser. Can not achieve our goal.
=================
also attached MIME All types of
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/F2/wKioL1XB0eTgDkukAAzwQEqKvHE464.jpg "title=" Iis.png "alt=" Wkiol1xb0etgdkukaazwqeqkvhe464.jpg "/>
This article is from "learning." "Blog, be sure to keep this provenance http://aixer95.blog.51cto.com/943421/1681975
IIS settings files can be downloaded