Microsoft Windows 2000
|
Installing PerlMicrosoft doesn't make a PERL interpreter, so technically any PERL environment is made by another company and is therefore unsupported, so Microsoft can't guarantee that it will work at all.That being said, here's is how one Microsoft technical support person installed PERL on a Windows 2000 server: Download ActivePerl from www.activestate.com to your desktop. Run this file to launch the InstallShield wizard for PERL. As you step through the pages in the wizard accept all defaults, except add PERL for ISAPI to the list of components to install. (PERL for ISAPI is an IIS plug-in that greatly speeds up Perl CGI scripts.) The installation program may not register the files with the PERL interpreter properly, so manually register PERL by using the following steps if necessary (this may be fixed in newer versions of ActivePerl):
Next, try out the following PERL test script: print "HTTP/1.0 200 OK\n";
print "Content-Type: text/html\n\n";
print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Hello World</TITLE>\n";
print "</HEAD>\n";
print "<BODY>\n";
print "<H4>Hello World</H4>\n";
print "<P>\n";
print "Your IP Address is $ENV{REMOTE_ADDR}.\n";
print "</BODY>\n";
print "</HTML>\n";
You can save the above code as HELLO.PL in your SCRIPTS folder and browse it to see a web page returned. If not, retrace the above steps. |