How to create the www.mycomputer.com at my computer?

Recently, I have downloaded PERL 5.0 from www.activestate.com. How am I going to run PERL scripts directly by making my WINNT station a virtual HTTP server for testing. Example:

perl script located at
c:\perl\script\myscript.pl

html page that execute PERL myscript.pl at c:\perl\html\mypage.html

How to execute myscript.pl by just typing http:\\www.mycomputer.com\perl\html\mypage.html

How to create the www.mycomputer.com at my computer, O/S is WINNT 4.0?

Pls advise and thank you very much.

 
qiang8Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AikemaConnect With a Mentor Commented:
take a look at the hosts.sam file sitting in u'r windows directory... assuming that this is only gonna be for local testing.

Then just add an entry for 127.0.0.1 and call it whatever you like
0
 
MotazCommented:
You need to install a web server such as Microsoft Information server, but if you want only to test your script you can:

add Microsoft Peer Web Server at network configuration, service tab, if you use Windows NT.

If you use Windows98 you can install Microsoft Personal Web Server that exists in Windows 98 CD-ROM at add-ons directory.

After that you can define an aliase for your www directories that will contain any html and perl scripts.

Motaz
www.gocities.com/motaz1
0
 
rupertsCommented:
You would then use http://mycomputer/myvirtualdir/file.html

(no www)
0
 
abragerCommented:
0
 
qiang8Author Commented:
Thanks for ur advice.
0
All Courses

From novice to tech pro — start learning today.