Rebol Talk Forum  |  REBOL Discussions  |  REBOL Core  |  Topic: Any 'real' difference between Win and Linux 'core' ??
Pages: [1] Print
Author Topic: Any 'real' difference between Win and Linux 'core' ??  (Read 592 times)
jfdutcher
Jr. Member
**
Offline Offline

Posts: 95


View Profile
Any 'real' difference between Win and Linux 'core' ??
« on: June 21, 2007, 08:26:05 AM »

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
Full Member
***
Offline Offline

Posts: 100


View Profile
Re: Any 'real' difference between Win and Linux 'core' ??
« Reply #1 on: June 21, 2007, 03:18:24 PM »

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=x60w

In 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] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL Core  |  Topic: Any 'real' difference between Win and Linux 'core' ??
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 07, 2008, 01:25:09 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2240 Posts in 584 Topics by 2209 Members
Latest Member: Argummamactup

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc