At 03:17 AM 12/15/98 -0800, John Reilly wrote:
[deleted]
>Now I find myself completely stuck again. I have Apache working  with a
>form set up ok. Now I want the submit button to send the data into a
>file.So far I cannot get past the error "access to
>/home/httpd/cgi_bin/form.cgi failed ......".
[deleted]

Well, let's go through the basics ...

1. Does the directory /home/httpd/cgi_bin/ exist? Is it readable by nobody
(or whatever name apache/httpd runs under on your system)? If yes, ...

2. In /home/httpd/conf/srm.conf, did you uncomment the ScriptHandler line
for the cgi_bin directory? If yes, ...      

3. Is there an executable file (either mode 755 or mode 500 and owned by
nobody) in the cgi_bin directory called form.cgi? (A cgi form expects to
submit its contents not to a *file* but to a *program*. If you want to put
the information into a file, you need to write a program to do this.) Does
your system have installed whatever this file needs to execute (for example,
if it is a perl script, do you have perl installed)? If yes, ...

4. What happens when you run form.cgi from the command line? Do you get an
error message? What is it?

(Sorry if I've gotten too basic here. I'm fairly new to the list and trying
to get a feel for the right level at which to respond. My guess is that your
problem is at step 3, but I thought it best to cover all bases.)


------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.321.3561 voice     650.322.1209 fax          [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to