Re: Re: cvs: php4 /sapi/apache2filter README
| From: | derick@php.net | Date: | Thu, 14 Mar 2002 10:34:22 +0000 |
| Subject: | Re: Re: cvs: php4 /sapi/apache2filter README | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81195@lists.php.net to get a copy of this message | ||
On Thu, 14 Mar 2002, Sebastian Bergmann wrote:
> derick@php.net wrote:
> > What kind of patch was that?
>
> There was a change in Apache2's filter API, patch below.
Ah, merge it. Also, can you please make your hamster not setting the
reply-to header? It's quitie annoying.
Derick
>
> Index: php4/sapi/apache2filter/sapi_apache2.c
> diff -u php4/sapi/apache2filter/sapi_apache2.c:1.61
> php4/sapi/apache2filter/sapi_apache2.c:1.62
> --- php4/sapi/apache2filter/sapi_apache2.c:1.61 Thu Jan 24 23:03:42 2002
> +++ php4/sapi/apache2filter/sapi_apache2.c Wed Mar 13 02:11:00 2002
> @@ -470,8 +470,8 @@
> {
> ap_hook_post_config(php_apache_server_startup, NULL, NULL,
> APR_HOOK_MIDDLE);
> ap_hook_insert_filter(php_insert_filter, NULL, NULL,
> APR_HOOK_MIDDLE);
> - ap_register_output_filter("PHP", php_output_filter,
> AP_FTYPE_CONTENT);
> - ap_register_input_filter("PHP", php_input_filter,
> AP_FTYPE_CONTENT);
> + ap_register_output_filter("PHP", php_output_filter,
> AP_FTYPE_RESOURCE);
> + ap_register_input_filter("PHP", php_input_filter,
> AP_FTYPE_RESOURCE);
> }
>
> AP_MODULE_DECLARE_DATA module php4_module = {
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/
> http://phpOpenTracker.de/
>
> Did I help you? Consider a gift:
> http://wishlist.sebastian-bergmann.de/
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Site Resource Manager - www.vl-srm.net
-----------------------------------------------------------------------