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

Reply via email to