For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > May 2004 > Stupid newbie question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Stupid newbie question

2004-05-22, 11:31 am

Hi everyone.

I installed ActivePerl on my Windows 2000 machine, and everything seems OK,
except for one thing.
I can execture a script from the command line, and it works fine. If I try
to point my browser to it, it starts a command window and executes the
script. I do not get any output to my browser.

Is it necessary to be running a webserver to get Perl to output to my
browser? If not, what step(s) might I have missed?

Joe


Michael Capone

2004-05-22, 11:31 am

<ikvsabre@comcast.net> wrote in message news:<E9idncd4De1l3O3dRVn-gw@comcast.com>...
> Hi everyone.
>
> I installed ActivePerl on my Windows 2000 machine, and everything seems OK,
> except for one thing.
> I can execture a script from the command line, and it works fine. If I try
> to point my browser to it, it starts a command window and executes the
> script. I do not get any output to my browser.
>
> Is it necessary to be running a webserver to get Perl to output to my
> browser? If not, what step(s) might I have missed?
>
> Joe


Hi Joe,

Bad news; you will need to be running a web server in order to get
perl to output to the browser. You can throw IIS on your Win2K box;
if you do, re-install ActiveState so that it can auto-configure IIS to
recognize perl scripts.

Good luck!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com