[patch] don't filter proxy requests

From: Date: Sun, 19 Aug 2001 19:51:40 +0000
Subject: [patch] don't filter proxy requests
Groups: php.dev 
Request: Send a blank email to php-dev+get-63758@lists.php.net to get a copy of this message
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;

« previous php.dev (#63758) next »