Install Perl
Perl is a programming language commonly used by CGI programs. Because
Stainfinder is written in this language, you must install Perl on
your server in order to run Stainfinder successfully.
Perl for Windows install packages in MSI format are available from
ActiveState (http://www.activestate.com). The current version at the
time of this writing is ActivePerl 5.6.1 build 638 and 5.8.6 build 811. Running the
installer file will walk you through the Perl installation. The
default settings should be sufficient.
Install Stainfinder
Copy Stainfinder (the file Stainfinder.pl) to a directory recognized by your web server.
Your web server will have a "root" directory whose location is defined
by the configuration of your server, and anything placed outside the
"root" directory will normally not be recognized by the server.
Configure Stainfinder to your installation
The sample Stainfinder program, written in Perl, was taken from a Unix
system. The opening line of the file tells the program where Perl is
located on the system, and must be changed to accommodate differences
in the Windows system. On a Windows system, the first line should be
changed from:
#!/usr/bin/perl
to:
#!c:/Perl/bin/Perl.exe
assuming that you chose the default settings during the
installation of Perl. Please be certain to type in both the pound
sign and the exclamation mark. Naturally, that line may need to be
changed if you installed Perl in a different directory.
At this
point, your web server is up and running with Perl. The Stainfinder
program can also run, but its configuration has not yet been completed.
If you are a novice user who has been following
our instructions up to this point, we strongly urge you to have your
configuration checked by a systems administrator to ensure that there
are no security issues with your configuration.
Please continue with the rest of the Stainfinder walkthrough
to complete configuring Stainfinder with your system.