I've found that if I post to this PerlAccessHandler, I get no response:
#------------------------
package Apache::Redirect;
use strict;
use Apache::Constants qw(REDIRECT);
use CGI ();
sub handler {
my($r) = @_;
my $q = new CGI();
$r->header_out(Location => "http://www.modperl.com/");
return REDIRECT;
}
1;
#------------------------
If I comment out "my $q = new CGI();" then it works fine. Any ideas on what
is causing this?
Apache/1.3.14
mod_perl/1.24
CGI.pm/2.56
--David
- Re: can not redirect on POST w/ CGI.pm David Young
- Re: can not redirect on POST w/ CGI.pm Matthew Byng-Maddick
- Re: can not redirect on POST w/ CGI.pm Joachim Zobel
- Re: can not redirect on POST w/ CGI.pm Rodney Broom
- Re: can not redirect on POST w/ CGI.pm David Young
- Re: can not redirect on POST w/ CGI.pm Doug MacEachern
- Re: can not redirect on POST w/ CGI.pm Rodney Broom
