Trying to install a legacy CGI.exe
file on a new Windows 2008 R2 server.
I added the exe
path to the CGI and ISAPI restriction list (it is set to allowed).
The handler mapping for the .exe
in the virtual directory is setup with execute permission also.
Every time I try and bring up the script in the browser, it will download the .exe
as a file instead of running it on the server.
Any suggestions would be appreciated.
Best Answer
Figured it out. Had to remove the MIME type for .exe, which translates to the below in web.config.
Legacy CGI application is displaying at 502 gateway error now but that is a different issue altogether :(