Re: EUPHORIA CGI - Good HTML?

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu