Google
WWW http://internetfixes1.brinkster.net

Visit our Quick Over View of this Remote Service.


Tip
Subject Content

25
Run Perl CGI scripts on a Win2K computer

Although IIS under Windows 2000 Professional allows you to host just one Web site, you may only

need that one Web site. Aside from that restriction and a limit of 10 concurrent connections, you

can accomplish almost everything with IIS under Windows 2000 Professional that you can under

Windows 2000 Server. This includes running Perl CGI scripts.



For example, perhaps you want to run a feedback forum or e-mail form results. You can do it all

under Windows 2000 Professional; you just need a Perl interpreter.



There are a handful of Perl interpreters for Windows 2000, but the most common is ActiveState's

ActivePerl.

http://www.activestate.com/Products/ActivePerl/

It includes the Perl core, platform installers, Perl Package Manager (PPM) for installing Perl

add-on modules, and documentation. The Windows version, which runs on all Windows platforms

from Windows 95 and later, also includes Perl for ASAPI, PerlScript, and PerlEz. Best of all,

ActivePerl is free.



When you install ActivePerl, Setup automatically configures your Web site under IIS to pass Perl

scripts with a .pl extension to Perl for processing. To process scripts with a .cgi extension, you need

to tweak your Web site configuration.



Open the IIS console and open the Properties for the Web site.

Click the Home Directory tab and then click Configuration.

Locate .pl in the list and double-click it to open the Add/Edit Application Extension Mapping dialog

box.

Make note of all the settings, and then close the dialog box.

Click Add, duplicate the settings from the .pl entry, but specify .cgi in the Extension field.

Click OK and close all remaining dialog boxes.



Now you're ready to start processing scripts on your server.

Page 25 of 237
First Previous Next Last