Gossamer Forum
Home : General : Perl Programming :

NT installation troubles

Quote Reply
NT installation troubles
I am trying to install Active PERL on NT.
I am using it to run the UBB and it works fime but when I try to write regular PERL scripts, the cgi-bin keeps saying it can not find the file I created. I also notice the perflib failed in my event viewer.

Can anyone help my newbie butt?
I nned to get this working.

Thanks

taylo
Quote Reply
Re: NT installation troubles In reply to
What is the Perl Path for your other perl/cgi scripts?

What are the directory path of files you are using in your scripts?

Where did you install Perl (drive and location)?

What errors do you receive when you try to execute these other cgi/perl scripts?

Have you set your MIME Mapping Type to include .pl and .cgi extensions?

How do you have your Web Server Software configured for using Perl?

Regards,



------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: NT installation troubles In reply to
I was usign redhat server, but now migrate to NT server, so I have quite alot of cgi/perl scripts.

So for now, I have to get it running. Till later, I will change to asp.
Quote Reply
Re: NT installation troubles In reply to
HI Eliot

I have just install NT server with IIS 4, and I am not sure how to run the .cgi and .pl scripts.

My Perl is install in C:\Perl. What should I do?
Quote Reply
Re: NT installation troubles In reply to
Honestly?

If you have an NT server, do ASP unless you have to do CGI.
Quote Reply
Re: NT installation troubles In reply to
Configuring NT with IIS is not too challenging. I will write out instructions in the next day or so. I am in the middle of a big project at work, so I do not have time to go in-depth.

In the meantime, I would highly recommend visiting Microsoft's Technet site to get instructions on how to configure your NT to run CGI and Perl scripts.

Check out the following documents:

http://technet.microsoft.com/.../iis/tips/runcgi.htm

http://technet.microsoft.com/.../technote/ntperl.htm

Regards,



------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: NT installation troubles In reply to
Okay...Here is what I did to set-up Perl on NT to run CGI and PERL scripts: (Keep in mind that this is for Internet Information Server (IIS) 4.0):

If you do choose to upgrade to IIS 4.0/SP4,then it is really easy.

1) Go to your Microsoft Management Console (MMC).

2) Right Click on the web site that you are trying to run the .pl and .cgi files.

3) Select and click on Properties.

4) Then click on the Home Directory tab.

5) Click on the Configuration tab.

6) Click on the Add button.

7) Then type in the following information:

Executable: C:\perl\bin\PerlIS.dll
Extension: .pl
Check on the Script Engine option

(Follow these same steps for setting up .cgi files.)

You also need to add both as a Computer MIME Type.

1) Go to your Microsoft Management Console (MMC).

2) Right Click on the Machine icon.

3) Click on the File Types button.

4) Click on New Type button.

5) Type in .cgi or .pl in the Associated Extension blank.

6) Type in application/perl in the Content Type (MIME) blank.

That should do it.

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited September 09, 1999).]

[This message has been edited by Eliot (edited September 09, 1999).]
Quote Reply
Re: NT installation troubles In reply to
I have install the Active perl and the .pl was created. But the execution path is C:\perl\bin\perl.exe % % and the exclusions is PUT,DELETE

should i change to what u have posted?
Quote Reply
Re: NT installation troubles In reply to
Yes! Using perl.exe is not the way to go.

Try following my directions as written. I struggled between the perl.exe and PerlIS.dll file and I found out the latter one works.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: NT installation troubles In reply to
If you are still experiencing problems, check out Active State's FAQ for installing Perl:


Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us