if mod_proxy+ProxyPass are enabled, php will try to filter the output of
proxy requests for *.php files. patch below prevents that..
Index: sapi/apache2filter/sapi_apache2.c
===================================================================
RCS file: /repository/php4/sapi/apache2filter/sapi_apache2.c,v
retrieving revision 1.46
diff -u -r1.46 sapi_apache2.c
--- sapi/apache2filter/sapi_apache2.c 18 Aug 2001 01:59:38 -0000 1.46
+++ sapi/apache2filter/sapi_apache2.c 19 Aug 2001 19:45:43 -0000
@@ -315,6 +315,10 @@
void *conf = ap_get_module_config(f->r->per_dir_config, &php4_module);
TSRMLS_FETCH();
+ if (f->r->proxyreq) {
+ return ap_pass_brigade(f->next, bb);
+ }
+
ctx = SG(server_context);
INIT_CTX;
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]