From: Sebastian Bergmann Date: Thu, 14 Mar 2002 10:57:00 +0000 (+0000) Subject: MFH (Apache2Filter update). X-Git-Tag: php-4.2.0RC1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b1db2afae6c63ac32105f4a83d8ebd7365c15d1;p=php MFH (Apache2Filter update). --- diff --git a/sapi/apache2filter/README b/sapi/apache2filter/README index f2b0a0097d..930dd95a5b 100644 --- a/sapi/apache2filter/README +++ b/sapi/apache2filter/README @@ -17,7 +17,8 @@ DOES IT WORK? HOW TO INSTALL - Get the latest Apache 2.0 alpha or the CVS code and install it. + Get the latest Apache 2.0 sources from CVS and install it. This + SAPI module is known to work with Apache 2.0.34-dev. $ cd apache-2.x $ cd src diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 632bdd72c0..8923dfd91e 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -470,8 +470,8 @@ static void php_register_hook(apr_pool_t *p) { 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 = {