Article ID: 245225 - Last Review: July 7, 2008 - Revision: 6.1 HOW TO: Configure and Test a PERL Script with IIS 4.0, 5.0, 5.1, and 6.0This article was previously published under Q245225 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSUMMARY
This step-by-step article describes how to configure and test a PERL script with Internet Information Server (IIS) version 4.0 and Internet Information Services (IIS) versions 5.0, 5.1, and 6.0.
The following PERL script can be used with IIS to test for the correct installation and execution of both Common Gateway Interface (CGI) and Internet Server Application Programming Interface (ISAPI) PERL script language interpreters, such as ActiveState PERL and PERL for ISAPI. For more information about ActiveState PERL interpreters, visit the following ActiveState Web site: http://www.activestate.com/
(http://www.activestate.com/)
Create a Test PERL ScriptIn Notepad, save the following lines of code in the Scripts directory as Helloworld.pl:Note After you create the file, you must configure PERL to run securely with IIS. Do not put Perl.exe in any of the directories that are accessible by a user with a browser. By using the Internet Service Manager (ISM) Microsoft Management Console (MMC) snap-in, you can put the Perl.exe or PerlIS.dll files outside the typical Web directory structure that a user has access to, and you can use the Script Mapping feature of IIS to configure execution of PERL scripts. Configure PERL Script Mapping for IIS 4.0
Configure PERL Script Mapping for IIS 5.0 and 5.1
Configure PERL Script Mapping for IIS 6.0
REFERENCESFor additional information about PERL Script in IIS 1.0, 2.0, and 3.0, click the article number below
to view the article in the Microsoft Knowledge Base:
150629
(http://support.microsoft.com/kb/150629/EN-US/
)
Configuring and Testing a PERL Script with Internet Information Server (IIS)
| Article Translations
|
Back to the top
