[NTLUG:Discuss] perl cgi script question

Geremy L. Hamlett gnuzealot at swbell.net
Sat Mar 8 13:38:29 CST 2003


Thats what I thought,


Thanks,


On Sat, Mar 08, 2003 at 06:59:24PM -0600, Jack Snodgrass wrote:
> On Sat, 2003-03-08 at 13:02, Geremy L. Hamlett wrote:
> > One guestion, 
> > 
> > I have a couple of cgi scripts coded in perl sitting on a website.  I
> > copied them back to my computer, that has no webserver running, and tried to
> > run the scripts.  I opened a browser and open the html file that points
> > to the script.  When I hit submit it just displays the perl script in
> > on the browser.  It dosn't execute the script.  Is this due to the
> > fact that I do not have a webserver running on my home comp? or
> > something more complicated?
> > 
> > Thanks,
> > gnuzealot
> 
> You can only run a cgi script from the web server. 
> You also have to configure the web server to execute
> the script. If you try and run a script that is not
> set up to be executed, you'll see the contents of 
> the file and not actually run it. 
> 
> jack
> 
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list