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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
AikemaCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
qiang8Author Commented:
Thanks for ur advice.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.