Path: news.daimi.aau.dk!not-for-mail From: Lars Balker Rasmussen Newsgroups: comp.lang.beta Subject: Re: Calling BETA programs from within HTML documents Date: 30 Jun 1998 10:01:13 +0200 Organization: Mjolner Informatics ApS Lines: 35 Sender: lbr@fenris.mjolner.dk Message-ID: <0f4sx3xqra.fsf@fenris.mjolner.dk> References: <359894EF.FCBD45C@salami4.cs.uni-dortmund.de> NNTP-Posting-Host: fenris.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Gnus v5.5/Emacs 20.2 Xref: news.daimi.aau.dk comp.lang.beta:11642 Sascha Kimmel writes: > I want to use BETA instead of Perl for evaluating forms from within HTML > documents. > The HTML document looks as follows: [...] >
> > >
[...] > When I call this program directly everything works as it should. > But when I try to execute it using the form on the HTML page I get the > following in my browser: > ELF[...] This is the binary of commandline. I don't think the above html would work, even if you substituted the commandline-program with a Perl-script. The webserver needs to know where cgi-programs can be placed. For the Apache and NCSA web-servers, you can use something like ScriptAlias /cgi-lbr/ /users/lbr/public_html/scripts/ in the srm.conf file. Then you can place commandline in the scripts directory under your public_html directory, and refer to it as
(Note that you duplicate the action keyword in your form above.) Some/most of the cgi-scripts in use at Mjølner are written in BETA. Best regards, -- Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS lbr@mjolner.dk