Index: sapi/apache2handler/php_functions.c =================================================================== RCS file: /repository/php-src/sapi/apache2handler/php_functions.c,v retrieving revision 1.15 diff -u -r1.15 php_functions.c --- sapi/apache2handler/php_functions.c 23 Oct 2004 13:48:05 -0000 1.15 +++ sapi/apache2handler/php_functions.c 4 Jan 2005 20:45:18 -0000 @@ -65,6 +65,10 @@ } ctx = SG(server_context); + + /* ensure that the ap_r* layer has flushed. */ + ap_rflush(ctx->r); + return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); }