Re: Euphoria and CGI

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jerry Story wrote:
> 
> Why doesn't this work?
> 
> }}}
<eucode>
> 
> #!./exu
> 
>  puts(1, "<html><head><title>Quackery Game</title></head>\n")
>  puts(1, "<body bgcolor=\"#FFFFFF\">\n")
>  puts(1, "</body></html>\n")
> 
> </eucode>
{{{

> 
> I tried with /euphoria in /public_html and in the top level.
> 
> In /public_html I get:
> #!./exu puts(1, "\n") puts(1, "\n") puts(1, "\n")
> 
> In the top level it does nothing.
> 
> /euphoria consists of /bin and /include
> 
> Also
> #!/home/jstory/euphoria/bin/exu
> doesn't work on my computer even tho the path is correct.

- be careful that your #! line has just \n as the line terminator,
  *not* \r\n (DOS/WIN style)

- be sure that exu has execute permission by all users

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu