[cgiapp] how to use C::A::Dispatch with FastCGI ?

Silent silent2600 at gmail.com
Thu Feb 21 07:08:48 EST 2008


2008/2/21, David Steinbrunner <dsteinbrunner at pobox.com>:
>
> Silent wrote:
>
> > has anyone use C-A-Dispatch with FastCGI ?
>
>
> <snip>
>
>
> > 2. after search from google, I tryed:
> >
> >
> > #!/usr/bin/perl
> >
> > use lib ".";
> > use CGI::Fast qw(:standard);
> > use APP::Dispatch;
> > while (my $q = CGI::Fast ) {
> >         APP::Dispatch->dispatch(
> >         args_to_new => { QUERY => $q },
> >       );
> > }
>
>
> Looks comparable to code I have working with the exception of a new on the
> CGI::Fast call:
>
>   while ( my $q = CGI::Fast->new ) {
>
> I'm also sending a value in the default param of dispatch.  For you that
> value would likely be 'User'.
>
> Beyond those thoughts you might want to look into the debug param and work
> with it to see if any light can be shed on things.
>
> --
>
> David Steinbrunner
>
>
>

OMG, I am so careless,
thanks all !


More information about the cgiapp mailing list