Re: HTTP 405 Error with CGI executable

Tech-Archive recommends: Fix windows errors by optimizing your registry

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


Date: Wed, 5 May 2004 23:57:50 -0700


.efp is not a valid CGI Executable extension recognized by IIS. You need to
either scriptmap .efp to your CGI executable (so all files with .efp
extension is executed by your CGI), or rename the CGI binary with an
extension of .com, .exe, or .cgi. Of course, to execute a CGI, you also
need to have the "Scripts and Executables" permission enabled (if you use a
.efp scriptmap, only "Scripts" is necessary).

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Chem" <anonymous@discussions.microsoft.com> wrote in message
news:368C39DF-DB88-49BA-B172-D124F5B860C0@microsoft.com...
I have a cgi executable which writes data to the standard output.
The file extension of the executable should be .efp, but that produces a
HTTP 405 Error - Resource Not Allowed
When renaming with extension .cgi, it works.
Any idea ?
Thanks by advance.


Relevant Pages

  • 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: CGI Tries to download not execute - IIS 6
    ... You will need to enable CGI extension in IIS 6.Please refer to following KB ... > Execute Permissions: to Scripts and Executables. ...
    (microsoft.public.inetserver.iis)
  • 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: CGI Tries to download not execute - IIS 6
    ... If the folder containing the CGI has "Scripts and Executables" Execute ... If you do not have "Scripts and Executables", ... If you do not enable CGI in Web Service Extensions, ...
    (microsoft.public.inetserver.iis)