if your CGI script like this

#!/usr/bin/perl
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header();
print "Hello World!\n";
undef $cgi;

your FastCGI will like this

#!/usr/bin/perl
use strict;
use FCGI;
use CGI;
my $request = FCGI::Request();
while($request->Accept() >= 0) {
    my $cgi = new CGI;
    print $cgi->header();
    print "Hello World!\n";
    undef $cgi;
}

if your CGI script not strong and strict enough, cover your CGI sctipt to 
FastCGI have many works to do, suggest you cover your CGI sctipt to 
mod_perl, FastCGI like has been forgotten, I can't find FCGI.PM at CPAN

-- 
I want a job about Perl, please visit my resume at
http://wanmyome.googlepages.com/resume.html
"Robert Hicks" <[EMAIL PROTECTED]> 
??????:[EMAIL PROTECTED]
> What do I need to do to move from plain CGI to FastCGI? I have the DLL 
> loaded in Apache conf file. Do I just need to make an application type of 
> .fcgi (or whatever) so Apache knows to use that? Do I need to modify my 
> plain CGI scripts in any way?
>
> Robert 



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to