[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGIIIIIIII!!!!
All my cgis that use sendmail are set to $mailprog="/usr/lib/sendmail";
but just in case here is my regular list of things to check when a cgi fails
to run.
1. Ensure the scripts are uploaded as ASCII, they will not run if uploaded
in binary.
2. The scripts should be chmod 0777 till you get them to work after that
remove the write permissions to all but the owner 0755
3. Ensure the first line of the script points to the correct perl location.
On a RAQ that is normally #!/usr/bin/perl
4. Ensure that the user you use to upload the cgi's is not admin or root!
They should be uploaded by the site administrator login, not the server
admin.
Paul
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Mark G. Castillo
> Sent: Wednesday, August 02, 2000 7:13 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-users] CGIIIIIIII!!!!
>
>
> Alonso,
>
> Are you referring to the '#!/usr/bin/perl' path to perl or the $mailprog =
> '/usr/sbin/sendmail' path? Both seem correct to me, but then
> again, it's my
> script that isn't working. What would I change it to?
>
> Un saludo,
>
> Mark G. Castillo
> http://www.iprocessmart.com
> Online Industrial Process Equipment
>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Alonso Garcia
> Sent: Wednesday, August 02, 2000 3:39 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: 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.
>
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>