[REBOL] Re: Sloooooooow Rebol
From: SunandaDH:aol at: 29-Aug-2003 3:47
Marcelo:
> Hi Sunanda, Thanks for help
No worries, I've struggled with exactly the same sort of issues in trying to
get Apache to work.
Other things to look at are:
1. Read the Core doc for IIS set up:
http://www.rebol.com/docs/core23/rebolcore-13.html
2. Line endings. Are you saving in a text editor? If you are using something
like MS Word to save as ASCII, you don't get the right combination of linefeed
and carriage-returns that some webservers need.
My current working solution is to use the xitami webserver. It's just a 700K
download from www.xitami.com.
If you use it, you will need a shebang as the first line of each script.
That's a path to the rebol interpreter. Your script would look something like
this:
#!c:\rebol\core\rebol.exe -cs
REBOL [Title: "CGI Script"]
print "content-type: text/html^/"
print [
"Now is:" now
mold system/options/cgi
]
(I'm not dissing Apache -- I got it to work in the end, and it is much more
powerful that Xitami. But Xitami meets my fairly simple needs for local-machine
CGI testing),
Sunanda.