[99853] in RedHat Linux List
RE: Getting to know CGI through httpd/Apache
daemon@ATHENA.MIT.EDU (Paul Pettit)
Tue Nov 17 10:53:32 1998
Reply-To: <paulp@ccbnpts.com>
From: "Paul Pettit" <paulp@ccbnpts.com>
To: <redhat-list@redhat.com>
Date: Tue, 17 Nov 1998 09:47:56 -0600
In-Reply-To: <3.0.1.32.19981117072758.0068fc64@pop.microtec.net>
Resent-From: redhat-list@redhat.com
> aromes@microtec.net [mailto:aromes@microtec.net] wrote:
>
>
> Hi,
[snip]
> but still ..I didnt find docs that really cover
> preactical exples such as:
> OK, say you want the CGI script /home/httpd/apache/CGI-BIN/boboni-cgi
> to call the database HOWARD for your web server Apache. So you go in
> httpd.conf and add " ADD CGI_REQUESTS
> /home/httpd/apache/CGI-BIN/boboni-cgi
> to /etc/httpd/apache" ..etc..
>
Hello,
Well I have found that the best training comes from doing. And there are
many examples of good to excelent cgi programing out there (try
http://www.itm.com/cgicollection/) to look at. Just remember that looking is
the object :). That and the books/docs/mans that you already should know
about can get you started.
Now as for databases that is a little more involved. Of course you will need
a SQL server (MySQL is my suggestion) then the Perl modules that allow the
intigration of Perl-SQL. I believe O'Reilly has Perl books avalible that
should outline these but here's a couple for memory:
DBI.pm
CGI.pm
msql-mysql.pm.
These can be found at the CPAN site (http://www.cpan.org) along with a huge
load of information. And check out http://www.perl.org if you haven't
already.
Luck,
Paul Pettit | Opinions and advice expressed are from me
CTO | and are not my employer's.
Consistent Computer Bargains, Inc.
http://www.ccbnpts.com
If you had to identify, in one word, the reason the human race has not
achieved, and never will achieve, its full potential, that word would
be: "meetings." -- Dave Berry
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.