It appears "Brett W. McCoy" <[EMAIL PROTECTED]>, on Wed, 9 May 2001
06:06:37 -0400 (EDT) wrote something like:

> On Tue, 8 May 2001, Chip Wiegand wrote:
> 
> > - server log -
> > [error](2)No such file or directory. exec of /usr/local/apache/cgi-bin/
> >     formparser.cgi failed
> > [error][192.168.1.8] Premature end of script headers: /usr/local/apache/
> >     cgi-bin/formparser.cgi
> > - I see the file DOES exist as formparser.cgi in the directory path shown
> > in the errors.
> > - I run perl -c formparser.cgi and get the response Syntax OK
> 
> It seems to me that the problem isn't that it can't find formparser.cgi,
> but there is some other file that formparser.cgi depends on to run that
> can't be found (the perl executable perhaps?).  Checking the syntax isn't
> enough -- you need to see if the program will *run*.  If it's executable,
> you should be able to at least do ./formparser.cgi and see where it's
> failing.

I have the permissions set to 755, so it should be executable. When I 
try ./formparser.cgi I get ./formparser.cgi: not found, but when I 
run perl formparser.cgi it runs fine. I noticed when doing ls -la that
the four scripts in the cgi-bin all have an asterisk by their name, I 
don't recall what that means. Could that have anything to do with it?

--
Chip

> -- Brett
>                                  http://www.chapelperilous.net/btfwk/
> ------------------------------------------------------------------------
> Gibble, Gobble, we ACCEPT YOU ...
> 
> 


-- 
Regards,

--
Chip Wiegand
CRW Computer Services
www.wiegand.org
[EMAIL PROTECTED]
<------------------>
  Web page design
    Consulting
     PC Repair
<------------------>

Reply via email to