1. EUPHORIA CGI - Good HTML?
- Posted by euphoriCK <euphoric at cklester.com> Oct 19, 2003
- 427 views
I'm using this program to test output with Apache 2. It ain't workin'... but I don't know why. Does anybody know? Thanks. :) -- end of test.exw sequence result result = "Content-Type: text/html\n\n" result = "<html><head>Testfile</head><body>Testing one two puts(1,result) -- end of test.exw My httpd-errors.log file says, "Premature end of script headers: test.esp." :/
2. Re: EUPHORIA CGI - Good HTML?
- Posted by Irv <irvm at ellijay.com> Oct 19, 2003
- 452 views
On Sunday 19 October 2003 03:41 pm, you wrote: > > > I'm using this program to test output with Apache 2. It ain't workin'... > but I don't know why. Does anybody know? Thanks. :) > > -- end of test.exw > sequence result > > result = "Content-Type: text/html\n\n" > result = "<html><head>Testfile</head><body>Testing one two > > puts(1,result) > > -- end of test.exw > > My httpd-errors.log file says, "Premature end of script headers: > test.esp." :/ I'm not sure, and can't check, because I no longer have Windows, but shouldn't you be using ex, rather than exw? You don't need a dos window to be opened. You might also try "Content-type: text/HTML\n\n" -- don't know if the case or space after the : matters. Have you checked for an ex.err file? The "Premature end... " message usually means euphoria has halted before finishing the job, which can be caused by most any euphoria error. Irv
3. Re: EUPHORIA CGI - Good HTML?
- Posted by euphoriCK <euphoric at cklester.com> Oct 19, 2003
- 436 views
Irv wrote: >>I'm using this program to test output with Apache 2. It ain't workin'... >>but I don't know why. Does anybody know? Thanks. :) >> >>-- end of test.exw >>sequence result >> >> result = "Content-Type: text/html\n\n" >> result = "<html><head>Testfile</head><body>Testing one two >> >> puts(1,result) >> >>-- end of test.exw >> >>My httpd-errors.log file says, "Premature end of script headers: >>test.esp." :/ >> >> >I'm not sure, and can't check, because I no longer have Windows, but >shouldn't you be using ex, rather than exw? You don't need a dos window >to be opened. > That's funny. I'm actually using exu, so that's just a typo. :/
4. Re: EUPHORIA CGI - Good HTML?
- Posted by "H.W Overman" <euman at bellsouth.net> Oct 19, 2003
- 410 views
Perhaps your server requires a CONTENT-LENGTH be assigned...? Euman ----- Original Message ----- From: "C. K. Lester" <euphoric at cklester.com> To: <EUforum at topica.com> Subject: EUPHORIA CGI - Good HTML? > > > I'm using this program to test output with Apache 2. It ain't workin'... > but I don't know why. Does anybody know? Thanks. :) > > -- end of test.exw > sequence result > > result = "Content-Type: text/html\n\n" > result = "<html><head>Testfile</head><body>Testing one two > > puts(1,result) > > -- end of test.exw > > My httpd-errors.log file says, "Premature end of script headers: > test.esp." :/ > > --^---------------------------------------------------------------- > This email was sent to: euman at bellsouth.net > > EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dd66.b3n6Lc.ZXVtYW5A > Or send an email to: EUforum-unsubscribe at topica.com > > TOPICA - Start your own email discussion group. FREE! > http://www.topica.com/partner/tag02/create/index2.html > --^---------------------------------------------------------------- > >
5. Re: EUPHORIA CGI - Good HTML?
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 19, 2003
- 418 views
On Sun, 19 Oct 2003 10:41:45 -0500, "C. K. Lester" <euphoric at cklester.com> wrote: > result = "Content-Type: text/html\n\n" > result = "<html><head>Testfile</head><body>Testing one two Don't you need to, like, concatenate those rather than just overwrite the first bit with the second? Pete
6. Re: EUPHORIA CGI - Good HTML?
- Posted by Guillermo Bonvehi <knixeur at speedy.com.ar> Oct 20, 2003
- 417 views
Should be result = "Content-Type: text/html\n\n" & -- LOOK AT THIS result = "<html><head>Testfile</head><body>Testing one two C. K. Lester wrote: > ============ The Euphoria Mailing List ============ > > I'm using this program to test output with Apache 2. It ain't workin'... > but I don't know why. Does anybody know? Thanks. :) > > -- end of test.exw > sequence result > > result = "Content-Type: text/html\n\n" > result = "<html><head>Testfile</head><body>Testing one two > > puts(1,result) > -- end of test.exw > > My httpd-errors.log file says, "Premature end of script headers: > test.esp." :/