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.RemoveThis@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!
>> Stay informed about: ISAPI Filters