|
Pages: [1]
|
 |
|
Author
|
Topic: Any 'real' difference between Win and Linux 'core' ?? (Read 660 times)
|
|
jfdutcher
|
The vendor of the Linux version of a web server I have been using on Windows makes this explanation for why the execution of a Rebol CGI script fails in Linux:
Actually the Web Server complained about a bad CGI header line it received and included it. It was " [H [JREBOL/Core 2.6.2.4.2" which suggest that Rebol was outputting its name and version information before starting the execution which confuses the Web Server and interferes with the CGI output. So the solution is to make Rebol not output its name/version information (quiet mode). Is it true that the Linux version of Rebol 'core' behaves differently when interacting with Rebol CGI scripts than the Windows version ?
I am trying out a different Linux web server to see how it handles Rebol CGI but can't quite relate to executing Rebol in 'quiet' mode if such is actually necessary or is even 'possible'.
|
|
|
|
|
Logged
|
|
|
|
|
Sunanda
|
I do most of the dev for http://www.REBOL.org on a Windows box (using the Xitami webserver). Some other dev happens on a MAC (not sure of the webserver). The live site is some linux variant under apache. The only differences I am aware of are documented here: http://www.rebol.org/cgi-bin/cgiwrap/rebol/art-display-article.r?article=x60wIn all cases, the shebang has -cs to run in quiet mode. It is also (with apache) important that you do not print anything before printing the end of the HTTP headers -- otherwise the script will fail with a 500. (Xitami is much more tolerant when it finds probes and prints before the <html> header. That's one reason I use it.)
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |