summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-08-19 20:28:36 +0000
committerSterling Hughes <sterling@php.net>2001-08-19 20:28:36 +0000
commitba4a1f2df2363f06d4a67f7c899e1115b927bd80 (patch)
tree745ba5c3f71a583cc52b793206670a5131d89813 /sapi
parentadb79869df911cdf55b43696dfc15c3264cfc9c9 (diff)
downloadphp-git-ba4a1f2df2363f06d4a67f7c899e1115b927bd80.tar.gz
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
Diffstat (limited to 'sapi')
-rw-r--r--sapi/apache2filter/sapi_apache2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c
index 8a916373d6..026fe4dc54 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2filter/sapi_apache2.c
@@ -315,6 +315,10 @@ static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
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;