Re: [RFC] apache_hooks update
| From: | Rasmus Lerdorf | Date: | Thu, 22 Aug 2002 15:07:33 +0000 |
| Subject: | Re: [RFC] apache_hooks update | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87293@lists.php.net to get a copy of this message | ||
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
>
>