1. Euphoria on Linux as CGI

I'm still having issues. Hopefully, somebody can help me get this
resolved soon! :)

I've got this code in test.exu:

--start
#!/var/www/interpreters/exu
without warning
puts(1,"Testing is complete.\n")
--end

I telnet to my account, then type "./test.exu" at the command line.
It gives me no output. Why?

Maybe figuring this out will resolve my issues.

Also, I have this in my code:

   include machine.e
   crash_file("/var/www/html/euphoria_new/ex.err")

Is that set up properly?

Irv, would you be willing to go into my account and
look around and see if I've got everything set up properly? :)

Thanks!
-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view message » categorize

2. Re: Euphoria on Linux as CGI

Hi CK,

try
chmod +x test.exu
and then
./test.exu

may be your path is wrong
try this too:
/var/www/interpreters/euphoria/bin/exu

Rubens

At 13:13 2/9/2004, you wrote:
>
>
>posted by: cklester <cklester at yahoo.com>
>
>I'm still having issues. Hopefully, somebody can help me get this
>resolved soon! :)
>
>I've got this code in test.exu:
>
>--start
>#!/var/www/interpreters/exu
>without warning
>puts(1,"Testing is complete.\n")
>--end
>
>I telnet to my account, then type "./test.exu" at the command line.
>It gives me no output. Why?
>
>Maybe figuring this out will resolve my issues.
>
>Also, I have this in my code:
>
>    include machine.e
>    crash_file("/var/www/html/euphoria_new/ex.err")
>
>Is that set up properly?
>
>Irv, would you be willing to go into my account and
>look around and see if I've got everything set up properly? :)
>
>Thanks!
>-=ck
>"Programming in a state of EUPHORIA."
>http://www.cklester.com/euphoria/
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: Euphoria on Linux as CGI

Hi, Rubens!

> try
> chmod +x test.exu
> and then
> ./test.exu

I tried that and it didn't help. :(

> may be your path is wrong
> try this too:
> /var/www/interpreters/euphoria/bin/exu

The path to exu is correct. My ISP stores any interpreters other than
PHP or Perl in the /var/www/interpreters directory, although I suspect
I could put the interpreter in the actual folder.

Rob, when I type "/var/www/interpreters/exu," shouldn't I get the
prompt that asks me what program to run, or does that not work that
way on Linux?

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

4. Re: Euphoria on Linux as CGI

Hi CK,

exu shows the prompt too.
If you type
/var/www/interpreters/exu,
should appear

"Euphoria Interpreter 2.4 for Linux.
Copyright (c) Rapid Deployment Software 2003
Permission is freely granted to anyone to copy and
redistribute this Public Domain Edition of Euphoria.

file name to execute? "

You have execute permission for the exu file ?

Rubens


At 14:13 2/9/2004, you wrote:
>
>
>posted by: cklester <cklester at yahoo.com>
>
>Hi, Rubens!
>
> > try
> > chmod +x test.exu
> > and then
> > ./test.exu
>
>I tried that and it didn't help. :(
>
> > may be your path is wrong
> > try this too:
> > /var/www/interpreters/euphoria/bin/exu
>
>The path to exu is correct. My ISP stores any interpreters other than
>PHP or Perl in the /var/www/interpreters directory, although I suspect
>I could put the interpreter in the actual folder.
>
>Rob, when I type "/var/www/interpreters/exu," shouldn't I get the
>prompt that asks me what program to run, or does that not work that
>way on Linux?
>
>-=ck
>"Programming in a state of EUPHORIA."
>http://www.cklester.com/euphoria/
>
>
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: Euphoria on Linux as CGI

Rubens Monteiro Luciano wrote:
> 
> exu shows the prompt too.
> If you type
> /var/www/interpreters/exu,
> should appear
> 
> "Euphoria Interpreter 2.4 for Linux.
> Copyright (c) Rapid Deployment Software 2003
> Permission is freely granted to anyone to copy and
> redistribute this Public Domain Edition of Euphoria.
> 
> file name to execute? "

I figured it should. I also figure my ISP has their system set up
in such a way that I am not able to access the exu interpreter from
their interpreters directory! I don't know for sure. :)

Ultimately, I put the interpreter back into the directory where
the test.exu file is and it's serving up content now. :/

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu