On Tue, 4 Apr 2000, Karyn Ulriksen wrote:

> Which handler would be appropriate to do the cleanup on this?

you register the cleanup function from whatever handler changes
document_root.  that'll happen at the same time as PerlCleanupHandler,
which is after PerlLogHandler.

>> my $old_docroot = $r->document_root;
>> $r->register_cleanup(sub { shift->document_root($old_docroot) });

Reply via email to