The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Issues during installation.

[...]

Using libapreq2 with Apache 2 and mod_perl 2.

When I use Apache::Request in my output filter, it seems to lose the incoming POST variables.

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.

When I try to upload a file, why do I get this error "[error] Can't locate .../Apache/Request/upload.al in @INC"?

Apache::Upload is now a separate module in apreq2, so you need to use Apache::Upload to load the Apache::Request::upload function.

Using libapreq2 outside of Apache.

[...]