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

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



Virgil I had the same problem until I made sure that the page that was
calling the script used the (www.)domain.com When I tried to call it without
the www in front it would not work.

Hope that helps

Raymond
----- Original Message -----
From: "Virgil H. Huston, Jr." <huston@xxxxxxxxxxxxxx>
Cc: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, September 01, 2001 6:16 PM
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
>