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
Thanks,
- nick
--
~~~~~~~~~~~~~~~~~~~~
Nick Tonkin {|8^)>
