Hi Alex

As requested. You instance script should look something like:

#!/usr/bin/perl -w
use strict;
use FindBin qw($B
use Webapp;
use CGI::Fast();

while (my $q = new CGI::Fast){
   my $webapp = Webapp->new(
       QUERY  => $q,
   );
   $webapp->run();
}

In you application class simply put "return $self->redirect(<URL>)" in our runmodes as you would without FastCGI

Dan

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to