[REBOL] Re: About FastCGI
From: petr:krenzelok:trz:cz at: 29-Jun-2001 12:23
Rondon Andrade wrote:
> I just follow the instructions at http://www.rebol.com/docs/fastcgi.html.
somehow uncomplete ;-)
> > ScriptAlias /fcgi-bin/ "c:/local-www/fcgi-bin/"
> > <Directory "c:/local-www/fcgi-bin">
> > Options ExecCGI
> > </Directory>
> > <Location "c:/local-www/fcgi-bin">
> > SetHandler fastcgi-script
> > </Location>
> I used AddHandler fastcgi-script .fcgi
OK, it is possible it will work ...
> > and the solution is to add one another line:
> > FastCGIServer "c:/pekr/rebol/command/rebolcmd.exe" -processes 5
> I think here you are mixing the ways to use FastCGI., you must use this
> directive for FastCGI Stand-Alone Mode.
Yes, and it is the only way you can use CGI compatibility mode. Untill you will
add above line, you are not running in FastCGI mode imo and you don't gain any
speed-up here. Just open your W2K task manager (ctrl + alt + del - once :-), and
try to find rebolcmd processes. If I will remove above line - you will NOT see
any rebolcmd processes there!
Once I do so, however, I can see 5 rebolcmd processes running in very short time
Apache is started. They are never left, till you shut down your server. And that
is what is stand-alone mode exactly for ...
> My server is working good. for each cgi program.
in CGI mode imo ;-)
> I just don't if it's the
> fine-tunning. If you setup FastCGI Stand-Alone Mode, give a feedback. ok.
My above solution means I am running in Stand-Alone Mode .... If you don't find
rebolcmd processes listed in process manager, you are not using any fastCGI mode
I just hope I am not wrong here :-)