Re: Detecting graceful restart/stop in child processes

2009-12-06 Thread Bill Moseley
On Sun, Dec 6, 2009 at 9:51 AM, André Warnier wrote: > > I am not the ultimate authority here, but I think you are going to have > several problems with this idea. > - the first one is that under Windows (where Apache also runs) there are no > such signals. > - the second one is that the signal,

Subclassing Apache::AuthDBI

2009-12-06 Thread Tosh Cooey
I'm trying to subclass Apache::AuthDBI by doing: package MyAuthDBI; use base "Apache::AuthDBI"; 1; Then in apache.conf PerlModule MyAuthDBI AuthType Basic PerlAuthenHandler MyAuthDBI::authen ... I'm getting the following error: ...failed to resolve handler `MyAuthDBI::authen': Can't l

Re: Replacement for Apache::AuthDBI but not mod_authn_dbd

2009-12-06 Thread Tosh Cooey
Sorry, Apache::AuthDBI does still work just fine, I just had to patch Apache::DBI 1.07. Still open for suggestions if anyone knows a cleverer way to accomplish what I'm doing. Thanks! Tosh Tosh Cooey wrote: If you saw my last post I described my solution for the following problem: Right

Replacement for Apache::AuthDBI but not mod_authn_dbd

2009-12-06 Thread Tosh Cooey
If you saw my last post I described my solution for the following problem: Right now I have an application set up for multiple clients: clientA, clientB, clientC. Each client has their own users. The way I have it setup is clientA goes to http://www.site.com/clientA and is presented with a l

Re: Detecting graceful restart/stop in child processes

2009-12-06 Thread André Warnier
Bill Moseley wrote: I'm running mod_perl/2.0.4 with a very large keep-alive set in my httpd.conf. Is there a way to detect when a graceful stop or restart has been requested in the child apache processes? I tried $SIG{USR1} and $SIG{WINCH} but I'm not seeing them catch the signal. I'd like to b

Detecting graceful restart/stop in child processes

2009-12-06 Thread Bill Moseley
I'm running mod_perl/2.0.4 with a very large keep-alive set in my httpd.conf. Is there a way to detect when a graceful stop or restart has been requested in the child apache processes? I tried $SIG{USR1} and $SIG{WINCH} but I'm not seeing them catch the signal. I'd like to be able to detect when