Re: Usefulness of $r-notes and $r-pnotes (or $c)

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 00:39 schrieb Adam Prime: Michael Peters wrote: On 03/23/2010 05:28 PM, Michael Ludwig wrote: What could be done at the connection level? Anything that might involve keep alive connections: where the same connection serves multiple requests. Probably not that useful for

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-24 Thread Perrin Harkins
On Tue, Mar 23, 2010 at 4:51 PM, Michael Ludwig mil...@gmx.de wrote: My desire to believe in the wisdom of the designers of the API has kept me busy thinking about this. Keep in mind that most of the Perl API is just exposing the apache module API to Perl. It wasn't necessarily put there with

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-24 Thread Perrin Harkins
On Tue, Mar 23, 2010 at 6:03 PM, Michael Ludwig mil...@gmx.de wrote: Thanks. Found some good examples. Although it seems to me that for such a case you would rather call $r-handler( 'default-handler' ), which is a pendant to 'perl-script', 'cgi-script' and others. But unless I'm mistaken here,

Re: get_handlers and set_handlers - purpose and use cases?

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 13:08 schrieb Perrin Harkins: On Tue, Mar 23, 2010 at 4:51 PM, Michael Ludwig mil...@gmx.de wrote: My desire to believe in the wisdom of the designers of the API has kept me busy thinking about this. Keep in mind that most of the Perl API is just exposing the apache module

Re: Usefulness of $r-notes and $r-pnotes (or $c)

2010-03-24 Thread Perrin Harkins
On Wed, Mar 24, 2010 at 6:32 AM, Michael Ludwig michael.lud...@xing.com wrote: This puts both the server process and the client to sleep for five seconds before returning. However, the server process is likely heavy-weight, whereas the client process is likely light- weight, and easily

RE: unsubscribe

2010-03-24 Thread sudhakar Avirneni
Thanks and regards, Sudhakar Avirneni, ph)6786228961 From: sinis...@gmail.com To: modperl@perl.apache.org Subject: unsubscribe Date: Mon, 22 Mar 2010 08:44:45 -0400 unsubscribe _

Re: Usefulness of $r-notes and $r-pnotes (or $c)

2010-03-24 Thread Douglas Sims
We use the notes table to put a reference to the session (and thus the user) in the access log. $request-notes-set('session' = $session-{SESSION}); This is in apache2.conf: LogFormat %v:%p %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ %{session}n combined_with_session This makes it

Re: unsubscribe

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 14:59 schrieb sudhakar Avirneni: From: sinis...@gmail.com To: modperl@perl.apache.org Subject: unsubscribe Date: Mon, 22 Mar 2010 08:44:45 -0400 unsubscribe That's useless. To remove your address from the list, send a message to: modperl-unsubscr...@perl.apache.org --

Re: Usefulness of $r-notes and $r-pnotes (or $c)

2010-03-24 Thread Michael Ludwig
Am 24.03.2010 um 15:20 schrieb Douglas Sims: We use the notes table to put a reference to the session (and thus the user) in the access log. $request-notes-set('session' = $session-{SESSION}); This is in apache2.conf: LogFormat %v:%p %h %l %u %t \%r\ %s %b \%{Referer}i\

mod_perl installation problem

2010-03-24 Thread Idel Fuschini
Hi, I'm trying to install mod_perl on sun solaris 5.10 with apache 2.2.9. after perl Makefile.PL I have this problem Configuring Apache/2.2.9 mod_perl/2.0.4 Perl/v5.10.1 [ error] Using Perl 5.010001 w/o ithreads and 'worker' mpm httpd. [ error] Failed requirements: [ error] - Perl built

Re: Usefulness of $r-notes and $r-pnotes (or $c)

2010-03-24 Thread Fred Moyer
On Wed, Mar 24, 2010 at 3:32 AM, Michael Ludwig michael.lud...@xing.com wrote: Am 24.03.2010 um 00:39 schrieb Adam Prime: Michael Peters wrote: On 03/23/2010 05:28 PM, Michael Ludwig wrote: What could be done at the connection level? Anything that might involve keep alive connections: where

Re: mod_perl installation problem

2010-03-24 Thread Fred Moyer
Try prefork httpd instead of worker? On Wed, Mar 24, 2010 at 8:33 AM, Idel Fuschini idel.fusch...@gmail.com wrote: Hi, I'm trying to install mod_perl on sun solaris 5.10 with apache 2.2.9. after perl Makefile.PL I have this problem Configuring Apache/2.2.9 mod_perl/2.0.4 Perl/v5.10.1 [  

Re: [mp2] t/hooks/authz.t and t/hooks/authen_basic.t fail

2010-03-24 Thread Fred Moyer
Should be ok to use this. I've seen this failure before but haven't been able to reproduce or really look into it. On Sat, Mar 20, 2010 at 5:30 AM, John Sharpe john.sha...@btinternet.com wrote: Ubuntu 8.04 $ make test TEST_VERBOSE=1 TEST_FILES=hooks/authz.t hooks/authen_basic.t Test