🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.misc
Article #2040

Re: How to launch a shell script (.sh) from an HTML page ?

#2040
From: Bill Vermillion
Date: Wed, 24 Oct 2001 22:59
21 lines
2203 bytes
In article <9r3fue$6k5$1@news.businessobjects.com>,
David Winter <noemail@nospam.com> wrote:


>I need to launch a sheel script (.sh file) from an HTML page under unix
>(Solaris and others).
>I am NOT using any server: this only a LOCAL html page. No virtual
>directories.

...

>The test.sh file changes the current directory in order to run another sh
>that launches a java application.

The proper place to run executables is from the cgi-bin directory
or the place designated as such in your config files.  This may not
make a difference but coalesecing all your executeables in one area
makes for good security too.

-- 
Bill Vermillion -   bv @ wjv . com
Technical Details
Message-ID: <GLqFv8.GnF@wjv.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!nosuchsite!bill
References: <9r3fue$6k5$1@news.businessobjects.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,ce5dc68f68e2e00a
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: fe1d2,ce5dc68f68e2e00a
X-Google-Attributes: gidfe1d2,public
X-Google-Thread: f72b0,ce5dc68f68e2e00a
X-Google-Attributes: gidf72b0,public
X-Google-Thread: 1012a6,ce5dc68f68e2e00a
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 11035d,ce5dc68f68e2e00a
X-Google-Attributes: gid11035d,public
X-Google-Thread: fa664,ce5dc68f68e2e00a
X-Google-Attributes: gidfa664,public
X-Google-Thread: 110f2c,ce5dc68f68e2e00a
X-Google-Attributes: gid110f2c,public
X-Google-ArrivalTime: 2001-10-24 16:24:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!nosuchsite!bill
Newsgroups: comp.unix.misc,comp.unix.questions,comp.unix.sco.misc,comp.unix.sco.programmer,comp.unix.shell,comp.unix.solaris,fr.comp.os.unix
From: bill@wjv.com (Bill Vermillion)
Subject: Re: How to launch a shell script (.sh) from an HTML page ?
Reply-To: bv@wjv.com
Organization: W.J.Vermillion - Orlando / Winter Park
Message-ID: <GLqFv8.GnF@wjv.com>
References: <9r3fue$6k5$1@news.businessobjects.com>
Lines: 21
Date: Wed, 24 Oct 2001 22:59:32 GMT
NNTP-Posting-Host: 157.238.210.239
X-Complaints-To: abuse@verio.net
X-Trace: iad-read.news.verio.net 1003965846 157.238.210.239 (Wed, 24 Oct 2001 23:24:06 GMT)
NNTP-Posting-Date: Wed, 24 Oct 2001 23:24:06 GMT