1. RE: Apache, CGI, and IIS, oh my!!

Michelle Rogers wrote:
> *sighs and kicks the computer in frustration*
> 
> ok..ok..I guess I'll wait until Monday...
> I've gone back to IIS instead of Apache..and I've gotten it to the point
> that it's apparently TRYING to run a CGI...but now it will eventually do a
> CGI error page, sayinging it timed out while trying to do the CGI
> application.
> 
> if you want to see what I'm talking about..go to..
> 
> <a
> href="http://kituwah.hopto.org/test.html">http://kituwah.hopto.org/test.html</a>

Here are a few things that I learned while setting up
Euphoria for CGI on Windows (with Apache).

* use exwc.exe (build it using makecon.exw in euphoria\bin)
  otherwise you might have trouble with the standard output
  needed to generate the HTML page

* turn off warnings - use:
      without warning
  at the top of your main file, otherwise the CGI program
  might hang at the end waiting for someone to hit Enter, 
  and your HTML might not be flushed out to the browser yet.

* use: 
    with trace
    trace(3)

  and also
    with profile

  to help you understand what the program did when
  no HTML page appears. Also, look for an ex.err file in cgi-bin

I've added these points to the docs for the next release.

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

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu