How does one configure IIS support exe file download ?, Iis File Download
IIS supports the configuration method for downloading exe files, as shown in the figure below. Let's take a look.
If you have set up a website in iisto download an exesuffix file, the. exe file cannot be downloaded.
In iis, the. exe file cannot be downloaded. When downloading, the system prompts that the file cannot be found. This is to improve the security of websites and their visitors to a certain extent. However, if we really need to download the exe file on the website set up by IIS, how should we implement it?
In HTTP, each resource (the content pointed to by the URI) has a MIME type (the so-called MimeType ). In IIS, the file formats that can be downloaded are all defined in the MimeType list. Files with no filename suffix cannot be downloaded.
After setting this principle, you can add the suffix ".exe" to the MIME Type list to download files in the exe format.
The specific settings are as follows:
Open the IIS manager, right-click the site where you want to download files in exe format, and select Properties. In the displayed dialog box, select the HTTP header tab and click "MIME type" in the lower-right corner of the tab to open the MIME type dialog box. Then select "new" in the MIME type dialog box. The extension is. exe. You can enter the MIME type here and click OK. (Www.jbxue.com script School)
In this way, the exe file can be downloaded under the site.
If you want all sites on IIS to download the exe file, right-click the "website" node under IIS and select Properties. Set the MIME type.
IIS often does not allow downloading files. Why?
How does the win2003server allow to download the .exe file?
1. Set "mime" to allow iisto support more files. skip this step if" .exe "already exists in" mimeilan.
Open IIS, select the server, right-click, and the property contains the MIME type
Add Extension:. exe
Type: application/octet-stream
(Common MIME types
Hypertext markup language text .html, .html text/html
Common text. txt text/plain
RTF text. rtf application/rtf
GIF image. gif image/gif
JPEG image .ipeg,.jpg image/jpeg
Au audio file. au audio/basic
MIDI music files mid,. midi audio/midi, audio/x-midi
RealAudio music file. ra,. ram audio/x-pn-realaudio
MPEG file. mpg,. mpeg video/mpeg
AVI file. avi video/x-msvideo
GZIP file. gz application/x-gzip
TAR file. tar application/x-tar)
2. If the problem persists in the previous step, you can set the access permission for the home directory of the website.
Open the iis manager, right-click the website, and choose Properties> Home Directory. Set the execution permission to "NONE" or "Pure script" to cancel "executable files ".
3. if the problem persists in the previous step, you can disable "all unknown cgi extensions" and "all unknown isapi extensions" in "web service extensions" in iis manager, only "asp" and "asp.net ".
How does the IIS server that comes with WIN2003 not support downloading exe files?
For the sake of security, Microsoft prohibits the download of exe files by default in the new IIS. You can modify the rules --
Project.