Re: Custom Form using PerlHandler with redirection

[prev] [thread] [next] [Date index for 2005/02/10]

From: Pratik
Subject: Re: Custom Form using PerlHandler with redirection
Date: 10:16 on 10 Feb 2005
> tried on success authentication ..
> $r->header_out('redirect.html');
> return REDIRECT;

Shouldn't you be doing :

use Apache::Constants qw(REDIRECT OK);
[............]
[............]
$r->header_out(Location => 'redirect.html');
$r->status(REDIRECT);
$r->send_http_header;
return OK;

Thanks,
Pratik
        -- 
        http://pratik.syslock.org

Re: Custom Form using PerlHandler with redirection
Pratik 10:16 on 10 Feb 2005

Re: Custom Form using PerlHandler with redirection
Geoffrey Young 12:38 on 10 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52