PerlCleanupHandler in modperl 2

2006-03-25 Thread Clinton Gormley
Am I missing something here. Can PerlCleanupHandlers be setup at startup with : Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler=>\&cleanup); I have successfully got a cleanup handler working using: - PerlCleanupHandler My::Package (in the config file), or - $r->push_handler

Re: PerlCleanupHandler in modperl 2

2006-03-25 Thread Geoffrey Young
Clinton Gormley wrote: > Am I missing something here. Can PerlCleanupHandlers be setup at > startup with : > > Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler=>\&cleanup); > > I have successfully got a cleanup handler working using: > > - PerlCleanupHandler My::Package (in th

Controlling subversion access

2006-03-25 Thread Dennis Sinelnikov
Dear fellow developers,   Here is what I’m trying to do in my httpd-ssl.conf:   $client_dn = $ENV{SSL_CLIENT_S_DN}; $client_dn =~ /.*UID=(.*)$/; $client_uid = $1;     $Location{"/svnroot"} = {     DAV => 'svn',     SVNPath => '/home/svnroot',     SSLUserName => $cli

Re: PerlCleanupHandler in modperl 2

2006-03-25 Thread Clinton Gormley
> it ought to work, but it should be setting a per-server cleanup instead of a > per-request cleanup. see below. > Doh! > basically cleanups are performed when memory allocated for different parts > of the server lifecycle is destroyed. so, httpd allocates memory for the > server, per-config