[cgiapp] a question about FCGI

George Hartzell hartzell at alerce.com
Sun Mar 7 12:54:52 EST 2010


P Kishor writes:
 > FCGI with CGI::App. Specifically,
 > 
 > use CGI::Fast();
 > 
 > while (my $q = new CGI::Fast){
 >    my $app = new MyCGIApplication(QUERY => $q);   # this is your CGI::App module
 >    $app->run();
 > }
 > 
 > It is not clear to me where the above code goes. I have an instance
 > script that uses C::A::Dispatch to launch the app. My App.pm has the
 > usual cgiapp_init{} and cgiapp_get_query { return CGI::Simple->new();
 > }. I have commented the latter because it seems CGI::Fast() comes with
 > CGI, not with CGI::Simple. Now, where does the CGI::Fast invocation
 > go?
 > [...]

The post here talks about my experiences in 2008 hooking CGI::Dispatch
based apps up with fastcgi.

   http://www.mail-archive.com/cgiapp@lists.openlib.org/msg06882.html

It might be useful.

g.



More information about the cgiapp mailing list