Re: problems in executing a fcgi program...

Stanley Gambarin (gambarin@OpenMarket.com)
Fri, 25 Apr 1997 14:47:57 -0400

Message-Id: <199704251847.OAA00456@u4-138.openmarket.com>
To: root <root@ares.dcc.unicamp.br>
Subject: Re: problems in executing a fcgi program... 
In-Reply-To: Your message of "Fri, 25 Apr 1997 09:53:47 -0300."
             <3360A95B.496782A4@ares.dcc.unicamp.br> 
Date: Fri, 25 Apr 1997 14:47:57 -0400
From: Stanley Gambarin <gambarin@OpenMarket.com>

	If you get the garbage characters in your netscape, that means
that the web server you are using does not have a mapping of the requests
to the fastcgi applications to the program that "speaks" fastCGI.  In the
NT servers, this is accomplished via mapping .fcgi extension to the 
cgi-fcgi executable.  In apache server, the same thing is accomplished
via SetHandler directive.  The reason why it works fine using CGI, is that
FastCGI differentiates when it is invoked as a CGI vs. FCGI and thus acts as
a standard CGI application (same as if you were to run it from command line).
	If you map the extension or type correctly, you should be able to
see the proper output of the fastcgi application.
						Hope that was of some help.	
								Stanley.