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

Re: [cobalt-users] CGI-Bin Problem - Raq 3



Erm,

Is the cgi-bin chmoded correctely? I can't see why it wouldn't be but try
chmod 755 perhaps?

Stuart
--
Perlboy Productions - www.Perlboy.org
ABN: 24 405 136 795
Blogger for the Masses - www.Seekbrain.com



----- Original Message -----
From: "Virgil H. Huston, Jr." <huston@xxxxxxxxxxxxxx>
Cc: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, September 02, 2001 10:16 AM
Subject: [cobalt-users] CGI-Bin Problem - Raq 3


> I just tried to install cgiemail on a virtual site. I put the cgi-bin
> under /web. I get the following error when trying to run the program:
>
> 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.
>
> I have set permissions correctly - at least I am pretty sure I have. I
> may try setting up a global cgi-bin for this program, but I would
> still like to know why this set up doesn't work.
> Any ideas?
> --
> Regards,
> Virgil Huston
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>