Boysenberry Payne wrote:
> Interesting, I tried just returning and several other non-OK returns
> and got no error.
Interesting, I supect the only thing that bails it out are error status in
the 400-500 range then.
Turns out it's a MP_HOOK_RUN_ALL
(http://perl.apache.org/docs/2.0/user/handlers
Interesting, I tried just returning and several other non-OK returns
and got no error.
Here is a sample of what I tried:
In httpd.conf:
PerlPostConfigHandler MyModule::PostConfig
package MyModule::PostConfig;
use strict;
use warnings;
# Apache2 Post Config Hook Phase Handler
sub
I'm having trouble running RT using the
PerlOptions +Parent
directive.
My httpd.conf file:
NameVirtualHost *
ServerName default.name.com
DocumentRoot"/var/www/html"
Options FollowSymLinks
AllowOverride None
I am new to mod_perl, and I am trying to pass data thru a HTML form. I am
able to get all data with the exception of "SELECT MULTIPLE"
Can someone please provide a good example with this? Or show me a document I
can refer to.
TIA
Boysenberry Payne wrote:
> In the example at:
> http://perl.apache.org/docs/2.0/user/handlers/
> server.html#C_PerlPostConfigHandler_
>
> the PerlPostConfigHandler subroutine returns Apache2::Const::OK.
>
> I was wondering if it mattered what it returned, and if so, what are
> the alternatives
On Nov 12, 2007 3:25 PM, E R <[EMAIL PROTECTED]> wrote:
> 1. a call to $profile->mark(...) will emit a special record to the log file
> 2. on server start up, spawn a single process to monitor the log file
> and collect profile records
> 3. have the monitoring process listen on a socket for request
On Nov 12, 2007 11:25 AM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> i'm just tossing this idea out...
Thanks for the ideas. The main issue I'm trying to find a good
solution for is the collection of the profiling info from all the
child processes because occasionally I want to poll the stats i
On Nov 12, 2007 10:59 AM, E R <[EMAIL PROTECTED]> wrote:
> 1. I don't want to profile every single subroutine. In fact, I want to
> profile only specific locations within my code, and a subroutine may
> have more than one profiling location.
You can control which packages are profiled. Check the
i'm just tossing this idea out...
1) have a profiler package that handles all the logging, etc - and
uses a constant
package MyApp:::Profiler;
use constant DO_PROFILE=> 1;
sub profile {
my ( $marker )= @_ ;
#log;
}
1;
2)
On Nov 12, 2007 9:51 AM, Geoffrey Young <[EMAIL PROTECTED]> wrote:
> this should help:
>
> http://search.cpan.org/dist/Devel-Profiler/lib/Devel/Profiler/Apache.pm
The two problems I see with this package are:
1. I don't want to profile every single subroutine. In fact, I want to
profile only spec
E R wrote:
> Hi,
>
> I have the need for a simple profiling capability for mod_perl applications.
> At a few (< 50) points in my code I want to call something like:
>
> $profiler->mark("some identifier");
>
> and increment the counter for "some identifier". Later I want to be able to
> get
>
Hi,
I have the need for a simple profiling capability for mod_perl applications.
At a few (< 50) points in my code I want to call something like:
$profiler->mark("some identifier");
and increment the counter for "some identifier". Later I want to be able to get
(through a web page) a summary (gr
Actually, I'm still using the default Apache2.. I did built mod_perl2 from
scratch. One of my fellow perl mongers installed Leopard before I did and
mentioned that he couldn't find mod_perl2 on it.. I just assumed that it
wasn't there so I rebuilt :)
Any ideas about the architecture signature in t
On Nov 10, 2007, at 8:00 PM, Hendrik Van Belleghem wrote:
To be honest, I haven't been able to get DBD::mysql compiled, nor
Apache2::Request (properly - still some strange errors in the
apache2 error log when I try to load it).
I haven't fully tested the Apache2 (or mod_perl for that matter).
Hey,
Are you using a beta Leopard? All my modules are timestamped about 20 days
later :)
Hendrik
On Nov 11, 2007 9:54 PM, Laurent MARTIN <[EMAIL PROTECTED]> wrote:
> I've neglected to look into the modules folder before I started compiling.
> Is yours timestamped on the 24/09? Does that one wor
15 matches
Mail list logo