Re: HTTP 405 Error with CGI executable

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


Date: Thu, 6 May 2004 17:30:21 -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.
//
"Andrey P" <andrey@paramonov.pp.ru> wrote in message
news:109kk5svblmi24@news.supernews.com...
Chem wrote:
> ----- Andrey P wrote: -----
>
>      Chem wrote:
>
>      > 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.
>
>      IIS5 ?
>
>      IIS LockDown tool installed ?
>
>      IIS6 ?
>
>      Make sure that you either have ALL Unknown CGI allowing in IIS MMC >
Web
>      Site Extensions Management or explicitly add that .efp extension to
the
>      list of enabled.
>
>      -Andrey
>
>
> I use IIS 5.0 without Lockdown tool.
> Where is that list of enabled extensions ?
>
Sorry, it's only IIS6 feature.
-Andrey


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: File extensions spoofable in MSIE download dialog
    ... notepad.exe (as a file with the usual ".log" extension would be) ... In no instance was I able to "silently" download and execute an executable ... These are the two browsers I tested with: ...
    (Bugtraq)
  • Re: Is it safe to open a text file in Internet Explorer?
    ... "Download it to your disk, change the extension, then Send To ... an .xml extension you get "The XML page cannot be displayed."." ... I've read, re-read, Googled, and MSN searched -- MSN search is ... way that this can actually execute anything. ...
    (microsoft.public.security)