1. Euphoria CGI
- Posted by fines at macalester.edu
Jan 27, 2001
-
Last edited Jan 28, 2001
I am diving into the world of Euphoria CGI on RedHat 7.0/Apache 1.3.14.
I have a small program that I need to have run the "system_exec"
function, as I need it to execute an external program then continue,
based on the resulting exit code, eg:
exit_code=system_exec("ls -l",2)
Yes, I've actually dumbed it down this much, just trying to run the
little ol' ls command. I can't get it to run as a CGI script! If I run
it manually, it runs fine. So I figure it has something to do with the
permissions on the file--as in, the user ('nobody') that Apache runs as
can't run the program. I've checked the permissions. 'nobody' owns the
Euphoria script and the external program to be run, and has rwx
permissions.
So what could the problem be? I'm new to CGI programming on Apache, so
any help would be greatly appreciated. I'm stuck!
Thanks.
____________________________________________________________
T O P I C A -- Learn More. Surf Less.
Newsletters, Tips and Discussions on Topics You Choose.
http://www.topica.com/partner/tag01
2. Euphoria CGI
If anyone's interested, I have an Euphoria CGI
program running on http://espsftwr.freeshell.org
.
Stop by and check it out (from the front page,
click on invoice)
E.Allen Soard
E.S.P. Software
Bookmark the HyperMart Small Business Center. All the tools you need to
succeed!
http://www.hypermart.net/center/
3. Euphoria CGI
Hi everyone,
Someone earlier wanted to try Euphoria CGI stuff but didn't have access
to an Internet facing web server. We have a Linux/Apache server that we
use for a variety of projects. We can host a few Euphoria CGI projects
if any one is interested.
Perhaps someone can help me get the stats working on the darn thing !!!
Regards
--
Peter Blue
IT Director - Legend Interactive Ltd
Technical Director - Platinum Communications Ltd
Please visit our web sites
www.yes-property.co.uk - Online Estate Agents (0.5%)
www.legend-i.demon.co.uk - Legend Interactive Ltd
4. Re: Euphoria CGI
Peter.Blue at legend-i.demon.co.uk wrote:
> ...
> Please visit our web sites
> www.yes-property.co.uk - Online Estate Agents (0.5%)
> www.legend-i.demon.co.uk - Legend Interactive Ltd
>
Hi Peter,
may I recomend to write instead:
Please visit our web sites
http://www.yes-property.co.uk - Online Estate Agents (0.5%)
http://www.legend-i.demon.co.uk - Legend Interactive Ltd
Have a nice day, Rolf
5. Euphoria CGI
Has anyone ever used Euphoria CGI with thttpd on linux system ?
Any tips would be welcome.
Thanks Bernie
~
. .
/U\
//^\\
/( )\
---
^ ^
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
6. Re: Euphoria CGI
- Posted by Chris Burch <chriscrylex at aol.com>
Mar 02, 2007
-
Last edited Mar 03, 2007
Bernie Ryan wrote:
>
>
> Has anyone ever used Euphoria CGI with thttpd on linux system ?
>
> Any tips would be welcome.
>
> Thanks Bernie
>
> }}}
<eucode>
> ~
> . .
> /U\
> //^\\
> /( )\
> ---
> ^ ^
> </eucode>
{{{
>
> My files in archive:
> WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
>
> Can be downloaded here:
> <a
> href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan</a>
Hi
I experimented with thttpd, but found it lacking in the cgi area - I switched to
lightspeed, of which the standard edition is free for private and commercial use.
http://litespeedtech.com/
Chris
===================================================================================
There is a train of thought that a generalist knows a little about a lot of
things,
and that a specialist knows a lot about very little.
If you took this to the extreme, you could become so specialised so as to know
everything there was to know about nothing.
===================================================================================
http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html
7. Re: Euphoria CGI
Chris Burch wrote:
> Hi
>
> I experimented with thttpd, but found it lacking in the cgi area - I switched
> to lightspeed, of which the standard edition is free for private and
> commercial
> use.
>
> <a href="http://litespeedtech.com/">http://litespeedtech.com/</a>
>
Thanks Chris
I will take a look at it.
The reason I was asking is that thttpd is already a part of
the Linux distribution that I am working on.
Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
8. Re: Euphoria CGI
Bernie Ryan wrote:
>
> Chris Burch wrote:
> > Hi
> >
> > I experimented with thttpd, but found it lacking in the cgi area - I
> > switched
> > to lightspeed, of which the standard edition is free for private and
> > commercial
> > use.
> >
> > <a href="http://litespeedtech.com/">http://litespeedtech.com/</a>
> >
>
> Thanks Chris
>
> I will take a look at it.
>
> The reason I was asking is that thttpd is already a part of
> the Linux distribution that I am working on.
I use Apache on Linux and FreeBSD with Euphoria doing the CGI grunt work.
--
duke
SW of Calgary - near the Rockies
http://www.rootshell.be/~perlster/euphoria/
9. Re: Euphoria CGI
duke normandin wrote:
> > The reason I was asking is that thttpd is already a part of
> > the Linux distribution that I am working on.
>
> I use Apache on Linux and FreeBSD with Euphoria doing the CGI grunt work.
> --
duke
Apache would require me replacing the kernel.
Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
10. Re: Euphoria CGI
Bernie Ryan wrote:
>
> duke normandin wrote:
> > > The reason I was asking is that thttpd is already a part of
> > > the Linux distribution that I am working on.
> >
> > I use Apache on Linux and FreeBSD with Euphoria doing the CGI grunt work.
> > --
>
> duke
>
> Apache would require me replacing the kernel.
I don't follow? Why not simply get the tarball and compile from source? I
*think* that there's even pre-compiled binaries for Linux as well. Which Linux
distro are you using?
--
duke
SW of Calgary - near the Rockies
http://www.rootshell.be/~perlster/euphoria/
11. Re: Euphoria CGI
duke normandin wrote:
>
> Bernie Ryan wrote:
> >
> > duke normandin wrote:
> > > > The reason I was asking is that thttpd is already a part of
> > > > the Linux distribution that I am working on.
> > >
> > > I use Apache on Linux and FreeBSD with Euphoria doing the CGI grunt work.
> > > --
> >
> > duke
> >
> > Apache would require me replacing the kernel.
>
> I don't follow? Why not simply get the tarball and compile from source? I
> *think*
> that there's even pre-compiled binaries for Linux as well. Which Linux distro
> are you using?
> --
duke:
Older linux kernels will not support the version of apachie web server.
I decided to use a different linux distro. for my firewall.
Bernie
My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API
Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan