Re: Euphoria + CGI + Linux
- Posted by Erik-Jan van Kampen <e.vankampen at student.tudelft.nl> Oct 08, 2004
- 433 views
Jonas Temple wrote: > > Erik-Jan van Kampen wrote: > > > }}} <eucode> > > > #!exu > > > puts(1,"Content-type: text.html\n\n") > > > puts(1,"<html>") > > > puts(1,"<title>" & "TEST" & "</title>") > > > puts(1,"</head>") > > > puts(1,"<body>") > > > puts(1,"TEST") > > > puts(1,"</body>") > > > puts(1,"</html>") > > > </eucode> {{{ > Erik, > > Maybe try pointing to the exact location of exu in the first line: > #!/usr/bin/exu > > or wherever your exu is located. > > Jonas Temple > <a href="http://www.yhti.net/~jktemple">http://www.yhti.net/~jktemple</a> > Jonas, I tried pointing to the exact location of exu (which is the same directory as the script file) and it worked!!! Then I tried just the #!exu again since that should also be valid and it still worked perfectly!! I'm guessing I had put something like a space or a wrong line ending after the first line which caused the problem. Thanks for your response, Erik-Jan