Hello, I encounter very strange problem using CGI::Application::FastCGI module. Firefox browser displays this warning: "The page isn't redirecting properlyFirefox has detected that the server is redirecting the request for this address in a way that will never complete." when I try to redirect to another page using CGI::Application::Plugin::Redirect module.
I check session conditions in cgi_prerun method like this:
sub cgiapp_prerun {
my $self = shift;
my $rm = $self->get_current_runmode;
# Get sess_id from URL
my $url_sess_id = $self->get_sess_id('url');
my $sess_id = $self->param(('sess_id');
# 1. No sess_id in URL
if (!$url_sess_id) {
$self->delete_old_sess($sess_sess_id) if $sess_sess_id;
$self->create_new_sess;
return $self->redirect('warning.html');
}
return $self;
}
However, when I switch back to the plane CGI::Application module, everything
works very well.
I'm using fcgid (replacement for fcgi) module with Apache. I checked my fcgid and Apache configurations. Everything works properly.If I use CGI::Application::FastCGI module and comment out '$self->redirect_url('warning.html');' line - the application works correctly.
Could somebody tell me please why CGI::Application::FastCGI module doesn't redirect to the proper HTML page when CGI::Application does it all the time?
Many thanks in advance, Alex ##### 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/ ## ## ## ################################################################
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.