Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Running rebol as cgi on Win NT

From: pa:russo:perd at: 2-Sep-2001 16:50

>Thanks for your hints, folks, but I'm afraid they don't solve the problem. > >We're specifying the full path, and we're also printing the >Content-Type before anything else is printed. The script we're >trying to run works perfectly well from the command prompt, and it >runs 100% fine as a cgi script on a Mac OS X Server. So what could >be the problem? What has Win NT got against running rebol as cgi? >Perl as cgi works fine on the same machine! > >How about the error message, can anyone explain to me in detail what >it tries to say? I get it as far as to "malformed header from >script", but from there on: mystery! (Here it is again):
[Sat Sep 01 14:00:21 2001] [error] [client] malformed header from script. Bad header=/apache/cgi-bin/test4.r could : /apache/cgi-bin/test4.r Sometimes I get the same error when I forget to convert the <newline> saving mode in my text editor from Mac (where I develop) to Unix (where my CGIs run). If your CGI works fine on MacOS X Server and not on WinNT, perhaps you have a similar problem. HTH -- -- dr. Paolo Russo [pa--russo--perd--com] cell. 380 70 17 641