Re: CGI and euc

new topic     » goto parent     » topic index » view thread      » older message » newer message
bugmagnet said...
jimcbrown said...
bugmagnet said...

I haven't been able to reproduce the 25% CPU utilisation. Nevertheless, here's code, html, and part of the Chrome session:

What is this code meant to demonstrate, if not the 25% CPU utilisation?

Umm ... the fact that it doesn't work; that trying to write a CGI EXE in Euphoria is a waste of hair.

Bugmagnet

Well, I didn't have quick access to a Windoze HTTP server with CGI set up, but I did test this on a Linux/GNU Apache 2 server.

Apache first complained that "HTTP/1.0 200 OK" was a bad/invalid header - giving me a 500 Internal Error on the web browser, but after I took the "HTTP/1.0 200 OK\r\n" out from the first puts(), it worked fine and I got a text file with the following contents:

console.log('foo'); 

Are you seeing different behavior?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu