🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57041

Re: CGI scripts

#57041
From: James C. McPherson
Date: Tue, 26 Nov 1996 00:00
40 lines
1934 bytes
On 25 Nov 1996 22:42:32 GMT, mattb@Deakin.Edu.Au (Matt Bottrell)
wrote:
[snip]
>
>> When I send a simple form, the best I can do is either just get a listing of
>>the CGI script in Netscape or the script (which simply prints data input in the
>>form) runs with the output displayed in an xterm shell but with none of the
>>form data. The tricky bit is knowing how to get httpd to work only with a
>>loopback setting. I presume it can be done but I don't know if i need to or how
>>to set up the name server files.
>>
>
>	Hmmm, have you informed apache that these files are indeed scripts?
>	It appears you might need to look at your suffixes on your
>	CGI or even setting up the path to execute them.
>
>	You might wish to take a look at a well written book by S. Gundavaran
>	on the subject of CGI.
>
>	It's called 'CGI Programming on the World Wide Web' and is
>	published by O'Reillly and Associates, Inc.
>
>	It does seem to cover a lot of the questions you are having and
>	it also lists ways of setting up your httpd server.
>


you might want to check out the CGI.pm perl module for perl 5.003
(http://www.genome.wi.mit.edu/ftp/pub/software/WWW/) which makes forms
_very_ easy to write and maintain. I'm using it to create an interface
between postgres95 and the web. (not ready for view yet though)

cheers,
jcm


Historian/InterLibraryLoans/ITLO/Branch Sysmangler
mljmcphe@dingo.cc.uq.edu.au
j.mcpherson@central1.library.uq.edu.au
Technical Details
Message-ID: <329a4a61.9131500@news.uq.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3298eb8a@sydpcug.org.au> <57d7co$mgh@miranda.its.deakin.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,d000acd206f98a18
X-Google-Attributes: gid102983,public
From: j.mcpherson@central1.library.uq.oz.au (James C. McPherson)
Subject: Re: CGI scripts
Date: 1996/11/26
Message-ID: <329a4a61.9131500@news.uq.edu.au>
X-Deja-AN: 200751764
references: <3298eb8a@sydpcug.org.au> <57d7co$mgh@miranda.its.deakin.edu.au>
organization: University of Queensland
newsgroups: aus.computers.linux