Use Internet Information Server (IIS) its an add on from the Windows 2000
CD, this will act as your web server.

To configure perl on your machine (Win2000), -> right click on my computer
icon -> click on properties -> click on advanced -> click on environment
variables 
-> On the System variables -> click on path and add this "C:\Perl\bin\" to
your path. Be careful not to change anything else. It should look like this:

C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM

Now that perl is configure properly on your machine you need to configure
your web server.

After installing IIS

Go to Administrative Tools in your control panel, -> click on Internet
Information Services.

In IIS console -> click on web sites -> right click on default web site 
--> new --> virtual directory and follow the wizard. Now that you have set
up a virtual directory (alias name) which is pointing to the physical
directory of your perl scripts you need to configure IIS to execute perl
scripts through your web browser similar to the command line.

Do this by going back to your IIS console click and expand "default web
site" right click on the name of the virtual directory you set up. ->
Click properties -> configuration -> click add -> click browse and locate
your perl.exe file.  In the extension tab add .pl
It should look like this c:\perl\bin\perl.exe %s %s

This will allow your to type in you Internet Explorer Address bar :-
http://localhost/aliasname/test.pl 

Test.pl will now execute the same as it would through the command line.

Alternative to IIS you could set up apache web server and configure the
httpd file.

You will find the latest release of perl here: http://www.activestate.com/


-----Original Message-----
From: Catriona Pure Scents [mailto:[EMAIL PROTECTED] 
Sent: 24 February 2004 02:06 AM
To: [EMAIL PROTECTED]
Subject: help with perl setup...and upgrade

Hi guys,

many moons ago when I was a complete novice on perl...(only a little more
advance now, but at least I have some scripts running and modifying them as
need be..) I had a version of perl that ran on my pc as though it were a web
server....not through the command line.

Although it is great to see what is happening on the command line, I want to
see the way it runs on a more visual basis, the way it will when
uploaded.....

would anybody kindly let me know what I need to get hold of and where to get
hold of I am presuming it is the interpreter that I need.

I am also looking for a program to run in conjunction with win2000 to
operate as a mail server type thing on the same pc....any recommendations
would be fantastic.

Yep I am setting up and old pc to do all my testing on without internet
connectivity.

and finally....

I am hoping that someone may be able to point me in the right direction for
websites docs that can help me upgrade my perl3 perl4 scripts to perl5.

Thanks in advance to one and all who read and / or respond.

Cat 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to