Cees Hek wrote:
> On 10/27/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
>> Do I need to do anything to my CA web application to make it run under
>> FCGI instead of CGI? I have the FastCGI DLL loaded in my Apache instance
>> and I have registered .fgci to be served by it.
>>
>> Can I just rename my index.cgi to index.fcgi and away I go? I am just
>> curious to see if FCGI will speed anything up. I can do mod_perl so now
>> I want to play with FCGI for a bit.
>
> Have a look at CGI::Application::FastCGI, which should make this
> transition very easy.
>
> Cheers,
>
> Cees
Nope. It's got a major bug that keeps it from working - it doesn't make
a new CGI::Application object on each run, and objects  will get
"stuck." And we're talking objects that really shouldn't be getting
stuck. CGI::Application::FastCGI is all but unusable.

http://rt.cpan.org/Public/Bug/Display.html?id=17736

Here's an example instance script that runs fine under FastCGI. It's so
simple (once you've figured out FastCGI, that is) that it's really not
worth using a buggy module. Me, I'd rather change an instance script
than my modules anyway.

-DJCP

#######################
#!/usr/bin/perl
use strict;
use warnings;
use CGI::Fast;
use lib '/home/kookdujour/lib';
use KookDuJour::Main;
my ($q,$kdj);
while($q=new CGI::Fast){
        $kdj=KookDuJour::Main->new(QUERY=>$q);
        $kdj->run();
}

#######################

-- 
-**---****-----******-------********---------**********
Daniel Collis-Puro
Software Engineer
End Point Corp.
[EMAIL PROTECTED]
(office) 781-477-0885
**********---------********-------******-----****---**-


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to