Re: ISAPI Filters

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: patrick (patl_at_reply.newsgroup.msn.com)
Date: 07/08/04

  • Next message: WenJun Zhang[msft]: "RE: w3wp.exe going to 100%"
    Date: Thu, 8 Jul 2004 09:31:48 +0100
    
    

    I found out why this is, I put *.cgi instead of .cgi !

    "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
    news:%23GImp4GZEHA.2480@tk2msftngp13.phx.gbl...
    > FYI: What you are talking about is not ISAPI Filter. You are referring to
    > Application Mappings (aka Script Mappings) between an extension and a
    script
    > engine, which can be either CGI (i.e. Perl.exe) or ISAPI (i.e. asp.dll).
    >
    > Also, just because you are logged on as the administrator does NOT mean
    that
    > you can do everything. Administrators, like any other user, can be denied
    > access to anything. However, Administrators have the special ability to
    > CHANGE their access to anything -- meaning that even if they are denied
    > access to an object, they can change the ACL on the object such that they
    > are allowed access -- but they have to explicitly do this.
    >
    > Finally, I cannot reproduce what you are claiming on XPSP1. I created the
    > script mapping for the .cgi extension to C:\perl\bin\perl.exe "%s" %s
    > without any problems using your instructions. I know that the XP UI
    > requires you to enter the extension with the leading period (without the
    > period, it won't enable the OK button), which was a difference from W2K
    > discussed in a KB article.
    >
    > --
    > //David
    > IIS
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    > //
    > "patrick" <patl@reply.newsgroup.msn.com> wrote in message
    > news:ecSRHCEZEHA.2456@TK2MSFTNGP10.phx.gbl...
    > Environment: IIS5.1 on Windows XP Professional SP1
    >
    > I have just installed Active Perl 5.8.4
    > http://www.activeperl.com/Products/Download/Download.plex?id=ActivePerl on
    > the computer, which by default created an ISAPI filter for *.pl
    (executable
    > =c:\perl\bin\perl.exe "%s" %s)
    >
    > I wanted to create another ISAPI so *.cgi would be treated as a Perl
    script.
    > I have
    > 1) open IIS
    > 2) Expand ComputerName->Web Sites, selected properties
    > 3) Under Home Directory tab, select Configuration
    > 4) Click Add button
    > 5) simulating the setting for *.pl, I have entered:
    > 5.1) Executable= C:\Perl\bin\perl.exe "%s" %s
    > 5.2) Extension= .cgi
    > 5.3) Limit to GET,HEAD,POST
    > 5.4) Script engine= ticked
    > 5.5) check that file exists=ticked
    > HOWEVER- the OK button is disabled.
    >
    > I tried repeat 3-4, for the following, but no joy
    > a) ComputerName->Web Sites->ComputerName,
    > b) the Virtual Directory containing *.pl files
    >
    > why won't it let me create new ISAPI filter? I am logged on as a
    > workstation administrator!
    >
    >
    >
    >


  • Next message: WenJun Zhang[msft]: "RE: w3wp.exe going to 100%"
  • Quantcast