Apache HTTP Server Request Library
[...]
The problem is likely that the mod_apreq filter has not been added to the input filter chain in time to read the POST data.
There are two solutions to this problem:
1) Write a filter init handler for you filter that instantiates an Apache::Request object.
http://perl.apache.org/docs/2.0/api/Apache/Filter.html#C_FilterInitHandler_
2) Use .htaccess or your server config to ensure the apreq input filter is active for this request with "AddInputFilter APREQ" or somesuch.
We recommend using (1), and falling back to (2) until you get (1) working.
Apache::Upload is now a separate module in apreq2, so you need to
use Apache::Upload
to load the Apache::Request::upload
function.
[...]