Re: register_cleanup

2007-12-13 Thread Torsten Foertsch
On Wed 12 Dec 2007, Rolf Schaufelberger wrote: > I'm on the way moving my app from mod_perl1 to mod_perl2. > The app is build with HTML::Mason an MasonX::WebApp. > Now I have a problem when trying to install a cleanup_handler. > My expectations are, that the funtcion I call returns to the browser a

Re: help about Apache::Scoreboard

2007-12-13 Thread Malcolm
On Wednesday 12 December 2007 11:36:34 pm Jeff Pang wrote: > When added these code in my handler: > > > my $r = shift; > > # We decline to handle subrequests: otherwise, a few lines down we > # could get into an infinite loop. > return DECLINED unless $r->is_initial_req; > > # > #

Re: help about Apache::Scoreboard

2007-12-13 Thread Jeff Pang
2007/12/13, Malcolm <[EMAIL PROTECTED]>: > > Just to confirm, you do have a "use Apache::Scoreboard" in there somewhere? > surely I used it. right now I got these exceptions in error_log: [Thu Dec 13 21:53:49 2007] [notice] child pid 4660 exit signal Segmentation fault (11) [Thu Dec 13 21:53:49

Re: register_cleanup

2007-12-13 Thread Rolf Schaufelberger
On Wednesday 12 December 2007 23:44:40 Perrin Harkins wrote: > On Dec 12, 2007 2:05 PM, Rolf Schaufelberger <[EMAIL PROTECTED]> wrote: > > my $r = $self->{__apache_req__}; > > Yikes, be careful of storing Apache2::RequestRec objects. Terrible > things will happen if you try to access one from a

Re: modperl on Win32 is still happening

2007-12-13 Thread Colin Wetherbee
Foo JH wrote: 3. Fast to cook, good to eat That's my favorite part of mod_perl. It goes down well with cookies, too, but tastes awful with Java. ;) And, you know, to keep this on topic, I like the idea that mod_perl on Windows can be a springboard of sorts for people who may eventually be d

Re: Using dtrace to determine which modules aren't loaded at startup time

2007-12-13 Thread Colin Wetherbee
Fred Moyer wrote: I've been having fun with dtrace, and I most recently used it to see what files are being accessed by mod_perl during requests. I've preloaded all the modules in my application that I know about into startup.pl, but when I startup my httpd server and make a request, I got so