Article View: aus.computers.linux
Article #57034CGI scripts
From: Rod Cadman
Date: Mon, 25 Nov 1996 00:00
Date: Mon, 25 Nov 1996 00:00
24 lines
1611 bytes
1611 bytes
Hi,
I wondering if there is anyone who can help me set up RedHat 3.03,
Netscape 3.0 & apache httpd server, to test Perl CGI scripts on a standalone
PC, especially when using forms.
Although I can get Netscape to recognise scripts when I use file links,
however when I use a URL that requires a domain name I get a DNS error, ie.
domain name not defined. It looks like I need to setup a valid DNS, (although a
bit tricky it seems any documentaion , not surprisingly, only explains how when
on a network).
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.
Any assisance would be greatly appreciated, I realise I could connect
to an ISP who could help, but at tis stage I'm not interested in connecting,
nor connecting another PC.
Technical Details
Message-ID:
<3298eb8a@sydpcug.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,d000acd206f98a18,start X-Google-Attributes: gid102983,public From: rod.cadman@sydpcug.org.au (Rod Cadman) Subject: CGI scripts Date: 1996/11/25 Message-ID: <3298eb8a@sydpcug.org.au> X-Deja-AN: 198612485 sender: news@sydpcug.org.au organization: Sydney PC Users Group reply-to: rod.cadman@sydpcug.org.au newsgroups: aus.computers.linux x-mailer: uugate 0.34 (OS/2 2.30) (Fidonet Gateway)