]> granicus.if.org Git - php/commitdiff
MFH (Apache2Filter update).
authorSebastian Bergmann <sebastian@php.net>
Thu, 14 Mar 2002 10:57:00 +0000 (10:57 +0000)
committerSebastian Bergmann <sebastian@php.net>
Thu, 14 Mar 2002 10:57:00 +0000 (10:57 +0000)
sapi/apache2filter/README
sapi/apache2filter/sapi_apache2.c

index f2b0a0097d5bf1c040361d1d3e56241e586e4fa9..930dd95a5bf5c914d6a190b5820d0af0f6e7303d 100644 (file)
@@ -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
index 632bdd72c06153fc8fcc07154f582729d2c2ffeb..8923dfd91e2885113716b6fefb78c4af48d69f5b 100644 (file)
@@ -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 = {