[REBOL] RES: Re: Sloooooooow Rebol
From: castellani-cpt:itautec-philco at: 29-Aug-2003 8:40
Hi Sunanda, thanks again
Andrew help me to put my .r files in the correct directory... it's working
now, very fast, very good.... Rebol is amazing... until today I use PERL and
Python, and these languages are very powerfull but nos very productive...
REBOL is more productive, I more with lower code...
I'm using IIS and PWS in Windows 2000 Professional, and Rebol/CORE.... in my
home I use Apache, but not configure Rebol yet.... Maybe in this saturday I
do it... today is very cold in Sao Paulo - Brazil, if tomorow is cold too I
will stay in home and do it... otherwise I'll go to rock and roll...
-----Mensagem original-----
De: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]Em nome de
[SunandaDH--aol--com]
Enviada em: sexta-feira, 29 de agosto de 2003 04:47
Para: [rebol-list--rebol--com]
Assunto: [REBOL] Re: Sloooooooow Rebol
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.