Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. here's the simple code (it is only a test): #file:touch.pl #- use strict; use warnings; use Apache::ServerUtil (); use Apache::RequestIO (); my $r = shift; $r->conte

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread Raf
http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. #file:touch.pl ... PerlResponseHandler touch.pl ... PerlPostReadRequestHandler touch.pl

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread André Warnier
Raf wrote: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. #file:touch.pl ... PerlResponseHandler touch.pl ... PerlPostReadRequestHandle

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Il 19/05/2011 16.32, André Warnier ha scritto: Raf wrote: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle. #file:touch.pl ... PerlResponse

Re: Write PerlPostReadRequestHandler

2011-05-19 Thread marco
Il 19/05/2011 16.47, marco ha scritto: Il 19/05/2011 16.32, André Warnier ha scritto: Raf wrote: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Thu, 19 May 2011, marco wrote: Hi, I tried to write an handler to be execute in the PostReadRequest phase of the http request cycle.

Apache2::Cookie and cookie names

2011-05-19 Thread James B. Muir
Hi All, In a modperl2 handler, using Apache2::Cookie, I have code as follows to fetch the names of the requests cookies: my @cookie_names = (eval { $cookie_jar->cookies() }); if ($@) { _oops("Could not parse cookies blah blah."); } I understand that with this code I either get all of the cookie

Re: Deflate problem

2011-05-19 Thread Fred Moyer
Have you tried mod_deflate? On Sat, May 7, 2011 at 3:30 AM, Idel Fuschini wrote: > Hi people, > I've got this problem with DEFLATE. > This is my code example : >   use strict; >   use warnings; >   use Apache2::Filter (); >   use Apache2::RequestRec (); >   use APR::Table (); >   use Cache::FileB

Re: Deflate problem

2011-05-19 Thread Idel Fuschini
yes the result is the same. Idel = Mobile: +39 349 442 2668 E-Mail: idel.fusch...@gmail.com Web Site: http://www.idelfuschini.it OpenSource Project: Apache Mobile Filter - http://www.idelfuschini.it/apache-mobile-filter-v2x.html Test Page: http://www.apachemobilefilter.org/test

Re: Deflate problem

2011-05-19 Thread Fred Moyer
Please cc the list on your responses so that others can help answer in the event this scratch off lottery ticket here next to me has a big prize and I take off on vacation ;) For what it is worth, it looks like your code example contained a response handler and output filter in the same subroutine

Re: Deflate problem

2011-05-19 Thread Torsten Förtsch
On Saturday, May 07, 2011 12:30:56 Idel Fuschini wrote: > I've got this problem with DEFLATE. I think you either simply forgot to mention a PerlResponseHandler or you should omit the "SetHandler modperl". > >PerlSetOutputFilter DEFLATE >PerlSetOutputFilter INCLUDES >SetHandler modpe