[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CGI permission error 13
- Subject: Re: [cobalt-users] CGI permission error 13
- From: c.raven@xxxxxxxxxxxxxx
- Date: Tue Dec 21 06:24:21 1999
Try some of the following:
Absolute path:
/cgiwrapDir/cgiwrap/path to your file within doc root/file
(EXAMPLE: /cgiwrapDir/cgiwrap/cgi-bin/mail/mail.cgi)
URL path:
http://www.yourdomain.com/cgiwrapDir/cgiwrap/path_to_cgi/sript.pl
URL path (debugging dumped to screen):
http://www.yourdomain.com/cgiwrapDir/cgiwrapd/path_to_cgi/sript.pl
(NOTE: uses cgiwrapd - not cgiwrap to debug)
Other points:
Scripts can only be .pl or .cgi
Try not to use a cgi-bin (try user-cgi or something) as this can clash with
the RaQ's cgi-bin
Make sure the file is where your calling it from (giving correct path)
Read the Cobalt Knowledge base http://kb.cobaltnet.com/
Cheers,
Chris R.
----- Original Message -----
From: "Brian Hinshaw" <brian.hinshaw@xxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxx>
Sent: Tuesday, December 07, 1999 2:02 AM
Subject: [cobalt-users] CGI permission error 13
> When trying to run a script, I get the following. I have other scripts
> on this server that work ok and have the same #! line of /usr/bin/perl.
> I have permissions at 755 and the current owner is root, same for my
> other cgi scripts.
>
> 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. The owner of the script needs to check the #!
> line for correctness.
>
> When running the script from the command line with /usr/bin/perl
> file.cgi it runs ok and reports no errors. I am running on a RAQ2.
>
> All help appreciated.
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>