Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Ryan Perry
Yes. 2.07 has been released. From apreq List: libapreq2-2.07 Released The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 2.07 release of libapreq2. This Announcement notes significant changes introduced by this release. libapreq2-2.07 is r

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
Normaly, ctrl +c works for a simple modperl program, I am trying to debug a more complex modperl program. I'd like to provide all info you need, maybe I need some guide on what's needed. What I want to do is stepping into the modperl2 WebGUI program(https://svn.webgui.org/svnroot/WebGUI/ and fix

Need to clean MySQL handle attributes with persistant handle?

2006-02-12 Thread RJ Herrick
Hi all, Under mod_perl, what is the correct, safe protocol for using the handle attribute mysql_insertid from a persistant handle? Am I correct in thinking that I need to clean up attributes like {mysql_insertid}if I want to ensure that they are specific to my current call? Specifically, could

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Perrin Harkins
Ken Perl wrote: I tried to stop apache by issuing apache2ctl -k stop in another terminal, the command exit without any output, but the debugger is still hung there. I have to send signal KILL to the process. That will work, but the usual way to stop is to hit Ctrl-C in the debugger terminal.

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
I tried to stop apache by issuing apache2ctl -k stop in another terminal, the command exit without any output, but the debugger is still hung there. I have to send signal KILL to the process. On 2/12/06, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Sun, 12 Feb 2006 18:55:13 +0800 > Ken Perl <[EMAIL

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Ken Perl
I add your code to my startup.pl, but it doesn't work. # apache2ctl -k start Program is starting Stopping... #apache2ctl -k graceful # apache2ctl -k stop On 2/13/06, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Mon, 13 Feb 2006 09:17:57 +0800 > Ken Perl <[EMAIL PROTECTED]> wrote: > > > No, I w

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Foo Ji-Haw
Is 2.07 out already? http://theoryx5.uwinnipeg.ca/ppms/ still lists it as 2.06-dev - Original Message - From: "Ryan Perry" <[EMAIL PROTECTED]> To: "ben syverson" <[EMAIL PROTECTED]> Cc: Sent: Monday, February 13, 2006 5:44 AM Subject: Re: More on httpd2.2, libapreq2, apr and mod_perl2 n

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Foo Ji-Haw
You're lucky already. You didn't see what happens on the same script running on Win32 Apache2... - Original Message - From: "Ken Perl" <[EMAIL PROTECTED]> To: Sent: Sunday, February 12, 2006 3:02 PM Subject: detecting server start, stop, graceful in startup.pl > >From the Apache2::Serv

Make your next million Stas!

2006-02-12 Thread Foo Ji-Haw
Speaking of which, when will the mp2 version of Practical Mod Perl be coming out? I'm sure Stas will make a handsome lot (I would use 'bomb' but these are sensitive times...) when he releases it, cause we're all depending so much on the book... - Original Message - From: "Frank Wiles" <[E

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Ken Perl
No, I want to do something in the startup.pl script. When apache start, I also want to say my modperl program is starting and started, when stop, I want to say my modperl program is stopping and stopped. When graceful, I want to say reloading and reloaded. But I didn't find a API could help, any id

Re: More on httpd2.2, libapreq2, apr and mod_perl2 not playing nice

2006-02-12 Thread Ryan Perry
FYI, Problems I've been having with Apache2 on FreeBSD 6.0 seem to have been resolved by installing the new libapreq2-2.07 Thanks!

Apache::Test & Proxy

2006-02-12 Thread Torsten Foertsch
Hi, I want to write a test that uses a frontend/backend setup. I t/conf/extra.conf.in I wrote # backend config Now I want to configure the frontend proxy RewriteRule ^/proxy/(.+) @Backend@/$1 [P] Is something like that supported? Torsten pgpkhHJOPaHUr.pgp Description: PGP signature

Re: detecting server start, stop, graceful in startup.pl

2006-02-12 Thread Frank Wiles
On Sun, 12 Feb 2006 15:02:38 +0800 Ken Perl <[EMAIL PROTECTED]> wrote: > >From the Apache2::ServerUtil API doc, to do something only when > >server > restarts (httpd -k start or httpd -k graceful), check whether > restart_count() is bigger than 1: > > my $cnt = Apache2::ServerUtil::restart_coun

Re: debugger command always return IO::Handle::DESTROY

2006-02-12 Thread Ken Perl
And I also can't quit Apache::DB by entering many 'q' commands, DB<5> q IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle.pm:75): 75: sub DESTROY {} DB<5> q IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle.pm:75): 75: sub DESTROY {} DB<5> q IO::Handle::DESTROY(/usr/lib/perl/5.8/IO/Handle