[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] (RaQ4/550)Running shell scripts as CGI apps
- Subject: RE: [cobalt-users] (RaQ4/550)Running shell scripts as CGI apps
- From: "Bob Noordam" <mac@xxxxxxxx>
- Date: Thu Dec 11 11:36:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Oorspronkelijk bericht-----
> Van: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] Namens René Mølsted
> Verzonden: maandag 8 december 2003 22:09
> Aan: cobalt-users@xxxxxxxxxxxxxxx
> Onderwerp: [cobalt-users] (RaQ4/550)Running shell scripts as CGI apps
>
> Hi list
> Is it possible to run shell scripts like Perl/CGI?
>
> René Mølsted
>
It is possible to bypass the cgi wrapper, and run direct CGI on a 550 (or
any other box for that matter). Keep in mind that this can have a serious
security impact, if it is a shared machine, and anyone other then yourself
are getting priveleged to do that.
First, enable cgi. Not a cobalt howto, but this document will get you there;
http://mail.salvagebv.nl/salvage/Knowledgebase.nsf/e362601f3d4cb7b7c1256dee0
0548d9b/6c04813c92d8a56fc1256def00478319!OpenDocument&Highlight=0,cgi
Next; edit the vsite in /etc/httpd/conf/vsite/sitexxxx and make sure the
.cgi and/or .pl extensions are no longer pointed to the wrapper, but to
cgi-script.
B.