URL: https://linuxfr.org/forums/programmation-perl/posts/probleme-libapache2-request-perl Title: Probleme libapache2-request-perl Authors: Sredlight Date: 2005年08月16日T13:57:08+02:00 Tags: Score: 0 Bonjour, j'ai un probleme d' upload pour la version libapache2-request-perl version :2.04-dev-1.sarge.1 : $VAR1 = bless( { '-stacktrace' => 'Can\'t call method "bb" on an undefined value at /usr/share/perl5/Error.pm line 274 J'ai éventuellement trouvé la marche à suivre à cette adresse : [http://httpd.apache.org/apreq/docs/libapreq2/apreq_faq.html(...)](http://httpd.apache.org/apreq/docs/libapreq2/apreq_faq.html) When I use Apache2::Request in my output filter, it seems to lose the incoming POST variables. The problem is likely that the mod_apreq2 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 Apache2::Request object. [http://perl.apache.org/docs/2.0/api/Apache2/Filter.html#C_FilterIni(...)](http://perl.apache.org/docs/2.0/api/Apache2/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. mais je n'arrive pas à la mettre en oeuvre puisque je ne comprends pas cette histoire de filtres. Quelqu'un pourrait-il m'aiguiller ? Merci bcp par avance.