Re: [RFC] apache_hooks update

From: Date: Thu, 22 Aug 2002 15:28:30 +0000
Subject: Re: [RFC] apache_hooks update
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87296@lists.php.net to get a copy of this message
What about other hooks like what mod_perl has: PerlChildInitHandler PerlPostReadRequestHandler PerlInitHandler PerlTransHandler PerlHeaderParserHandler PerlAccessHandler PerlAuthenHandler PerlAuthzHandler PerlTypeHandler PerlFixupHandler PerlHandler PerlLogHandler PerlCleanupHandler PerlChildExitHandler I don't think we need all of them, but AccessHandler and AuthzHandler would be nice to write a Authentication handler in PHP. LogHandler and CleanupHandler would be nice so things can be done after the client connection is closed. I know, baby steps, but just thinking big picture. :-) Great job! Brian At 8:07 AM -0700 8/22/02, Rasmus Lerdorf wrote:
Does it work? On Thu, 22 Aug 2002, Lukas Schroeder wrote:
hi, attached is a first request for comment for an update to the apache_hooks code. a php-handler for uri translation looks like this ($request is of type ApacheRequest). <?php $request->uri('/s.html'); return DECLINED; ?> a php-handler for uri-to-filename translation would look like this. <?php $request->filename('/tmp/foo.html'); return OK; ?> the patch is intended for peer review only. regards, -lukas
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#87296) next »