[99818] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Getting to know CGI through httpd/Apache

daemon@ATHENA.MIT.EDU (aromes@microtec.net)
Tue Nov 17 07:14:38 1998

From: aromes@microtec.net
Date: Tue, 17 Nov 1998 07:27:58 -0800
To: redhat-list-request@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi,
I ve been readind interesting books about CGI, but despite the fact that I
understand the concept [CGI is a 3rd part program that adds additional
functionalities to web requests, such as dynamic web and so on..], I m
really dying to practise it:
I ve installed a local home httpd/Apache server on my redhat 5.0/kernel
2.0.32 box, and things seem to work well at the basic. A "lynx
http://localhost" or of my own IP gives me back what I was expected.
DocumentRoot and ServerRoot are declared as /home/httpd and in that same
path I have index.html (my personal web page) and a directory CGI-BIN. 
Now, I would really like to start testing the first steps functionalities
of using CGI and dont know how to. I ve looked 
in man pages, online docs ..they give U good elements on CGI-programming,
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..

This kind of clear steps to follow are hard to find..
Thanks
Marc


-- 
  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.


home help back first fref pref prev next nref lref last post