Re: CGI Question

by "The Web Center, Inc." <admin(at)webctr.com>

 Date:  Tue, 16 Jan 2001 22:14:28 -0500
 To:  <rob(at)tconsult.com>,
<hwg-servers(at)hwg.org>
 References:  tconsult
  todo: View Thread, Original
Well, I suppose it will certainly attract the attention of MS platform
users.  Since most of the sites are on *nix and I can write as fast in Perl
or PHP as anyone I've seen in ASP and since those are both free and Open
Source...well, I guess I must be from a different neighborhood...:)

Darrell

----- Original Message -----
From: "Rob Taylor" <rob(at)tconsult.com>
To: <hwg-servers(at)hwg.org>
Sent: Tuesday, January 16, 2001 7:54 PM
Subject: RE: CGI Question


I personally do not know why anyone would put too much
effort in to learning CGI.  Especially if you are new.
You will obtain success much faster and get way more
satisfaction out of ASP (Active Server Pages).  If you
don't have access to it, get access to it.

Unless you need to know CGI of course :).

By the way, the Internet is about to make a big left turn.
Surprisingly many people do not know it yet.
But ASP.NET will revise the Internet 10 fold.

www.plusasp.com
www.asp.net


Rob



-->-----Original Message-----
-->From: owner-hwg-servers(at)hwg.org [mailto:owner-hwg-servers(at)hwg.org]On
-->Behalf Of BenLRead(at)aol.com
-->Sent: Tuesday, January 16, 2001 6:44 PM
-->To: hwg-servers(at)hwg.org
-->Subject: CGI Question
-->
-->
-->I'm sorry if you've already received my query about this and
-->replyed, but I
-->subsribed to the list after putting my question in so I fear I
-->might have
-->missed a responce!
-->
-->I've recently bought a CGI book and am trying to teach myself.  They
-->recommended I download the Apache webserver from
-->www.apache.org/httpd.html
-->and a perl interpreter from www.activestate.com, which I've done.
-->
-->I then wrote the following Perl program in a text editor:
-->
-->#!c:\perl\bin\perl.exe
-->
-->use CGI;
-->
-->$query = new CGI;
-->
-->print $query->header;
-->
-->print "<head><title>A test</title></head>\n";
-->print "The test was successful.";
-->
-->I saved it as test.pl and placed it in the cgi-bin directory of
-->my web server.
-->
-->The book then tells me in order to request the file with my Web browser
-->(which is Internet Explorer 5) I am to use the following URL:
-->http://localhost/cgi-bin/test.cgi
-->
-->I then get a page come up saying 'file not found', so then I
-->tried the same
-->URL but using test.pl instead and it comes up with 'server error'.
-->
-->I guess that my server is not set up for running cgi programs, could you
-->please tell me how I do this?  I'm trying to run it on a PC with
-->Windows 98
-->operating system.  Please help!
-->
-->Thanks very much in advance,
-->
-->Ben Read.
-->

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA