Re: CGI Tries to download not execute - IIS 6

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/19/04


Date: Thu, 18 Nov 2004 23:24:18 -0800

If the folder containing the CGI has "Scripts and Executables" Execute
permissions and the CGI is enabled in Web Service Extensions, it will
execute on the server.

If you do not have "Scripts and Executables", then CGI will be downloaded.
If you do not enable CGI in Web Service Extensions, you will get 404.

If you do both things and it still does not work, then this problem is no
longer an IIS issue but a problem with custom software running on IIS.
Please detail what custom applications you are running on the server --
Perl, Tomcat, PHP, etc.

CGI running on IIS5 should run on IIS6 unless the CGI was written
incorrectly to only work on IIS5.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"ECVerify.com" <google@gencode.com> wrote in message
news:2023c1c9.0411181258.121ab736@posting.google.com...
I built a new machine and everytime I tried to execute the CGI instead
of executing it tries to download the exe to the web browser.
In the IIS Manager in my CGI folder I set properties
Execute Permissions: to Scripts and Executables.
Why wont it run and always try to download?
This is an old CGI I have used on IIS 5 for years.
Please help, thanks, Ed,


Relevant Pages

  • Re: IIS6 - CGI wont run on new website
    ... > Sounds like your CGI is broken and needs to be debugged. ... > Your customer did not correctly configure execute permissions for the ... > instead of execute on server. ... > This configuration controls how IIS handles such ambiguous URLs. ...
    (microsoft.public.inetserver.iis)
  • Re: Unable to execute CGI app
    ... My instructions are sufficient to execute a CGI on IIS6. ... error message AND your CGI EXE executes on the POST, ... As soon as IIS routed the POST request to the CGI and executed it, ...
    (microsoft.public.inetserver.iis)
  • Re: External program from Lisp CGI
    ... I'm working on Lisp CGI based mostly on Maxima functions. ... I use Apache with mod_cgi on Debian. ... What happens if you attempt to execute the cgi script as the same user the ...
    (comp.lang.lisp)
  • Re: HTTP 405 Error with CGI executable
    ... .efp is not a valid CGI Executable extension recognized by IIS. ... Of course, to execute a CGI, you also ...
    (microsoft.public.inetserver.iis)
  • Re: Using functions and subroutines in another file
    ... To all of my routines, especially those that execute where I cannot see the output directly (e.g. CGI Scripts). ...
    (comp.lang.rexx)