🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57043

CGI Scripts

#57043
From: Rod Cadman
Date: Tue, 26 Nov 1996 00:00
30 lines
1683 bytes

Hi,


  I am wondering if anyone could 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. 


  The problem is briefly as follows:-

   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(or something similar). 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 this stage I'm not interested in connecting,
nor connecting another PC. 

      
Technical Details
Message-ID: <329a1ee8@sydpcug.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,836ce8cc04f8b625,start
X-Google-Attributes: gid102983,public
From: rod.cadman@sydpcug.org.au (Rod Cadman)
Subject: CGI Scripts
Date: 1996/11/26
Message-ID: <329a1ee8@sydpcug.org.au>
X-Deja-AN: 200774503
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)