[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CGI Wrap on a Raq2
- Subject: Re: [cobalt-users] CGI Wrap on a Raq2
- From: Shaun Masterman <shaun@xxxxxxxxxxx>
- Date: Wed Dec 8 13:52:42 1999
In reply to my own question...
Make sure you dont upload the file in binary!
Apologies for wasting bandwidth...
Later,
Shaun
----- Original Message -----
From: "Shaun Masterman" <shaun@xxxxxxxxxxx>
To: "Cobalt List" <cobalt-users@xxxxxxxxxxxxxxx>
Sent: 08 December 1999 12:19
Subject: [cobalt-users] CGI Wrap on a Raq2
> Im getting error when I try to run a cgi script from the cgi-bin directory
> of a virtual site, I think this is a 'permissions' issue, but the cobalt
> docs are pretty sketchy on this... Can someone walk me through the
process?
>
> The error message I'm getting is from cgiwrap
> >CGIWrap encountered an error while attempting to execute this script:
>
> >Error Message: No such file or directory
> >Error Number: 2
> >This message usually indicates there is a problem with the script itself.
> The owner of the script >needs to check the #! line for correctness.
>
> The #! line matches the output from "which perl" (/usr/bin/perl).
>
> 1) What permissions should I set on the xxxxx.pl file in the cgi-bin
> directory? -rwxrwxr-x?
> 2) How should I run my perl scripts? using a GET/POST in an HTML page?
>
> I see from the cgi wrap docs the following :
> "Dont let any untrusted user run a cgi script from the cgi-bin
directory..."
> Im a bit of a newbie to all this - please forgive me if Im being a bit
naive
> here - I was hoping to be able to just load the .pl files and be able to
> execute them from the cgi-bin for testing...
>
> Thanks,
> Shaun
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users