Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ISAPI Filters

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS 5.0 HTTP 500 for css and images  
Author Message
patl

External


Since: Jan 20, 2004
Posts: 17



(Msg. 1) Posted: Wed Jul 07, 2004 8:36 pm
Post subject: ISAPI Filters
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Wed Jul 07, 2004 8:36 pm
Post subject: Re: ISAPI Filters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"patrick" <patl.TakeThisOut@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 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Wed Jul 07, 2004 8:36 pm
Post subject: Re: ISAPI Filters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 
Back to top
Login to vote
patl

External


Since: Jan 20, 2004
Posts: 17



(Msg. 4) Posted: Thu Jul 08, 2004 12:31 pm
Post subject: Re: ISAPI Filters [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

"David Wang [Msft]" <someone.RemoveThis@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.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
 > <a style='text-decoration: underline;' href="http://www.activeperl.com/Products/Download/Download.plex?id=ActivePerl" target="_blank">http://www.activeperl.com/Products/Download/Download.plex?id=ActivePerl</a> 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!
 >
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ISAPI Filters 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ISAPI Filters - Hello! I'm interesting if it is possible to develop ISAPI filters for IIS5/IIS6 using C# or C++ is the only case. Thanks

ISAPI Filters - Hi, please can someone shed some light on a problem I am having with IIS 4.0 on NT 4? I have an ISAPI Filter which was working correctly. Recently some changes were made to the IIS configuration which has resulted in the DLL being loaded and execute...

IIS 5.0 Isapi Filters - I added a Webtrends cookie filter (iiscookieserver.dll) to an IIS web site. It successfully added, but when I try to access the web via FrontPage (2000/2002) this new isapi filter prevents web access. When I remove the filter, access is restored. Any....

use of default isapi filters - We are running IIS 5. We are not running asp.net. Can someone point me to any documentation on what the default isapi filters do, which ones can be removed and which ones should not be removed for security issues etc? We have a client who has asked u...

How to change priority in ISAPI filters? - I installed 2 ISAPI DLL in my IIS 5 on w2k server sp4. One filter has "Low priority" The other has "High priority" I have to execute FIRST the filter with "Low priority" then the other one. How can I change it? Any help...
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]