On Wed 17 Dec 2008, mod_perl User wrote:
> I am facing problem in mod_perl2.0 while opening an handler
> Code as follows,         my $r = Apache2::Request->new(shift,
> POST_MAX => 10 * 1024 * 1024);        my $status = $r->parse(); 
> Getting $status as 'Missing Input Data'

I am not an expert in libapreq but I have seen this when there is no 
request body (GET or empty POST). Use instead

$req=Apache2::Request->new($r);
$r->discard_request_body;          # read in the complete body
$status=$r->method eq 'POST' ? $req->body_status || $req->args_status
                             : $req->args_status; 

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net

Reply via email to