[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CGIIIIIIII!!!!



I had the same error with a CGI script and it all came down to changing the
path or paths that are called by the script. Absolute and/or virtual paths
can create this error when used incorrectly.

----- Original Message -----
From: "Mark G. Castillo" <mark@xxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 02, 2000 3:59 PM
Subject: [cobalt-users] CGIIIIIIII!!!!


> Hey Everyone,
>
> First of all, thanks for all the previous help on this matter.  The
initial
> problem was that emails posted using a Form on the RaQ3 seemed to go
nowhere
> at all.  So, I checked my /home/log/httpd/error log, and I found CGI
Wrapper
> warnings to the effect that "cgi wrapper not found", etc.  So, I
> double-checked my sendmail.cw file, where all appears correct.  I decided
to
> check the script itself, and the sendmail, referrers, and perl paths
appear
> to be correct.
>
> My error log has some of these:
>
> [Wed Aug  2 14:19:45 2000] [warn] [client 63.216.217.130] handler
> "cgi-wrapper" not found for: /home/sites/home/cgi-bin/FormMail.pl
>
> The browser window is showing me this:
> CGIWrap encountered an error while attempting to execute this script:
> Error Message: Permission denied
> Error Number: 13
> This message usually indicates there is a problem with the script itself.
> Often this indicates either that the #! line of the script is incorrect,
or
> the script was uploaded in binary mode instead of ascii mode. Check to
make
> sure that the script does not have control-M's at the end of every line.
> That will prevent it from executing. An easy fix that takes care of this
> most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on
the
> first line of the script.
> If you are not the owner of this script, please forward this error and the
> URL that caused it to the script owner. That is often the component in the
> URL right after /cgiwrap/.
>
> Permissions on the cgi-bin folder and the script itself appear to be
correct
> (775).  So what is the permission I am denied?  In general, cgi appears to
> work, as my Search script works.
> Could this be a problem in the sendmail.cw, sendmail.cf, or access.cw
files?
> I even checked the list at:
> http://users.iol.it/hpstr/
> And it looks like I'm doing everything right, so how come it comes out all
> wrong?  I'm not kidding, I really need to get this to work.  Could this be
a
> sendmail problem, like maybe the whole program is corrupted?
>
>   Any help would be great.
>
>
> Mark G. Castillo
> http://www.iprocessmart.com
> Online Industrial Process Equipment
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>