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

[REBOL] Re: Testing REBOL CGI under Win95

From: sanghabum:aol at: 11-Jun-2001 8:19

Hi Scott,
> > I installed Apache (1.3.19 running under Win/98), and made just the two > > changes that Andrew suggests in "Rebol: The Official Guide". Apache
hasn't
> > skipped beat since. His changes are: ... > > It is good to know that it can be just that simple. Thanks to you and
RTOG.
> --Scott Jones
But I've got some recovered memories of the installation ... and I did run into a couple of problems. Maybe these points below will help Gesa: 1. With these two simple changes, you must then put *.r scripts in ...\apache\cgi-bin 2. Assuming you install Rebol in ...\Apache\Rebol, then all your *.r scripts must start with the three lines: #!rebol/rebol.exe -csi rebol [] (The line in the middle is blank. I think that is important) 3. Don't use a word processor (MS/Word, or WordPerfect, or WordPad) to knock together a quick first-time script. Even if saved as ASCII, it won't have the correct line endings that Apache (which comes from the UNIX world) expects....Apache will misread the first line and dump a very misleading message onto the error log. If you have no other editor available, the DOS mode EDIT.EXE will save files in Apache-friendly ASCII. --Colin.