(No subject)Date: Tue, 3 Jul 2001 20:18:03 +0200
[1/2] from: petr::krenzelok::trz::cz at: 3-Jul-2001 11:05
----- Original Message -----
From: <[sqlab--gmx--net]>
To: <[rebol-list--rebol--com]>
Sent: Monday, July 02, 2001 12:43 PM
Subject: [REBOL]
> Hi
> As there were a few configurations described for fastcgi with Apache,
<<quoted lines omitted: 10>>
> And don't forget to use getmodes right;
> cgi-data: get-modes fastcgi-conn 'cgi ; in your Rebol script.
OK, because I still don't seem to get it, few straightforward questions :-)
1) How do you start your rebol instances - what parameters (-sqw ??),
scripts, etc.
2) What is in the header of your .fcgi script? Could you post an example of
such script?
Thansk,
-pekr-
[2/2] from: sqlab:gmx at: 4-Jul-2001 12:29
That was my first message, although delivered later.(
> >
> > Hi
<<quoted lines omitted: 27>>
> Thansk,
> -pekr-
It worked with a link;
path-to\rebolcmd -cs fastcgi.r
running in path-to
----------------
and it worked with a batchfile starting;
cd path-to-rebol_cmd
rebolcmd -sqw fastcgi.r
cd path-to-apache
apache
----------------
The header looks like every other Rebol script
and a simple program looks like this.
Rebol []
fcgi: open fastcgi://:15001
count: 0
forever [
fcgi-conn: first fcgi
fcgi-data: get-modes fcgi-conn 'cgi
insert fcgi-conn "Content-Type: text/plain^/^/"
count: count + 1
insert fcgi-conn join "Round " [count "^/^/]
insert fcgi-conn mold fcgi-data
insert fcgi-conn "^/"
close fcgi-conn
]
;AR
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted