Re: Exe files on the webserver
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 06/12/04
- Next message: andrew: "winXP home"
- Previous message: David Wang [Msft]: "Re: Accessing remote WAS Application through IIS Server"
- In reply to: Stephen Moss: "Re: Exe files on the webserver"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Jun 2004 03:09:02 -0700
You probably have "Scripts and Executables" enabled for the vdir that
contains the EXE file. Change the Execute Permissions to "Scripts" or even
better, "None" -- if you know the directory is just for downloads.
This configuration option is how you tell IIS that the URL "/foobar.exe" is
supposed to be interpreted as "execute foobar.exe on the server" vs "send
foobar.exe as a file download". In the "send as file download" case, the
browser will also offer you a choice to "save" or "run" the download.
Different people want different behavior for the same URL from the browser,
and this configuration gives you that choice.
The default behavior is to allow EXE to download, so you must have manually
misconfigured this option at some point.
I'm fairly certain MIME Type is NOT the problem from a download perspective
because the .EXE MIME Type is defined on a default IIS6 installation.
Alternatively, you should get used to browsing the event log and IIS web log
files, which will contain detailed information and status/error codes which
indicate why the request failed. I'm almost certain that your web log
entries which correspond to 404 for the EXE files look like "404 2 1260" at
the end, which also indicates that you're telling IIS to attempt to execute
the disallowed EXE on the server, which IIS denies by sending a 404 response
for security reasons.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "Stephen Moss" <cmmsdm@ntlworld.com> wrote in message news:ljsxc.148$gp1.116@newsfe6-win... Hi Jeff > > Post once. We'll get to you. > Very odd that, I posted it the first time, it then showed in the newsgroup with a line through it and said something like 'being deleted', so I sent it again, so it only shows once through my work ISP but twice at home ! > By default, IIS6 won't access exe files. Do you wnat to download, > execute on server or execute on client? All three are different. > I want the equivalent of my old NT4 server where you have the option to download or 'run from here' Thanks Stephen
- Next message: andrew: "winXP home"
- Previous message: David Wang [Msft]: "Re: Accessing remote WAS Application through IIS Server"
- In reply to: Stephen Moss: "Re: Exe files on the webserver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|