Install ActivePerl in WindowsNT4.0

Source: Internet
Author: User
This article only discusses how to install ActivePerl in WindowsNT4.0. Environment used in this article: Perl

Version: 1.0
Author: He Zhiqiang (hhzqq@sina.com)
Time: 200000003.16

This article only discusses how to install ActivePerl in Windows NT 4.0.
Environment used in this article:
Windows NT 4.0
Option packs 4.0
SP5
ActivePerl 522(APi522e.exe)
I. software download
Http://www.activestate.com/ActivePerl/download.htm
II. software installation
1、install api522e.exe using the default configuration, which is installed in C: \ Perl by default;
2. open the Internet service manager, select the default Web site, and view the properties. on the home directory page, click configure, and you will find that there are two more in the application ING:
The executable path of the extension
. Pl C: \ Perl \ bin \ Perl.exe % s PUT, DELETE
. Plx C: \ Perl \ bin \ perlis. dll PUT, DELETE
3. I added a virtual directory in IIS, alias: perl, actual path: D: \ HZQ \ PERL, with Read, script, execution, and directory browsing permissions;
4. I created a file test. pl in D: \ HZQ \ PERL with the following content:
Print "Perl is OK! ";
Then I enter http: // localhost/perl/test. pl in the browser and the following error occurs:
CGI error
The specified CGI application does not run properly because it does not return the complete HTTP title. The returned title is:
Perl is OK!
Then I changed test. pl:
Print "Content-Type: text/html \ n ";
Print "Perl is OK! ";
Run successfully;
5. I also created a file test. plx in D: \ HZQ \ PERL. the content is as follows:
Print "Perl is OK! ";
Then, enter http: // localhost/perl/test. plx in the browser. an error window is displayed in the browser with the error message:
Internet Explorer cannot open Internet sites
Http: // localhost/perl/test. plx.
The information returned by the server is invalid or unidentifiable.
Then I changed test. plx:
Print "Content-Type: text/html \ n ";
Print "Perl is OK! ";
Run successfully;
6. Note that. pl is run in CGI mode, and. plx is run in ISAPI mode (the efficiency is much higher than that in CGI mode ).


Appendix:
ActivePerl Download
Http://www.activestate.com/ActivePerl/download.htm
ActivePerl Help
Http://www.activestate.com/ActivePerl/docs/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.