Nick Tonkin wrote:
Hey,
I have a handler that is called like this:
<Location /authenticate>
sethandler perl-script
PerlHandler WM::Auth::Auth
</Location>
the handler returns like this:
return logon_form($r);
logon_form starts like this:
sub logon_form {
my $r = shift;
$r->status(Apache::OK);
$r->content_type('text/html');
$r->send_http_header;
[...]
This throws the error:
send_http_header() can't be called before the response phase
I've posted a tentative solution to the dev list.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com