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

[REBOL] FastCGI Command docs bug (was) Re: Re: (No subject)Date: Tue, 3 Jul 2001

From: petr::krenzelok::trz::cz at: 4-Jul-2001 12:57

[sqlab--gmx--net] wrote:
> That was my first message, although delivered later.( > > > > > > > > Hi > > > > > > As there were a few configurations described for fastcgi with Apache, > > > I will add my working configuration (Linux and Windows). > > > > > > Windows: > > > FastCgiExternalServer "D:/Apache/mydocs/fastcgi-bin" -host > > localhost:15001 > > > <Location /fastcgi-bin> > > > SetHandler fastcgi-script > > > </Location> > > > ExternalAppClass /fastcgi-bin -host localhost:15001 > > > > > > Unix: > > > Just replace the path after FastCgiExternalServer with your complete > > path > > > without hyphens to the non-existing location. > > > > > > 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- > > > > 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
sh*t, uhm, three hours of lame experiencing just to find out Command docs say: get-modes 'cgi conn-port - wrong order of parameters. My script started to respond in 10 secs after I saw your email. Thanks a lot, I was so near .... Sending to feedback too ... -pekr-