From 43bb1e9675af4606faf43d1e5232ffe62f41babf Mon Sep 17 00:00:00 2001
From: Eric Covener
Date: Fri, 19 Dec 2014 23:41:58 +0000
Subject: [PATCH] add more examples, mention one reason to use SetHandler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1646901 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_proxy_fcgi.xml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/docs/manual/mod/mod_proxy_fcgi.xml b/docs/manual/mod/mod_proxy_fcgi.xml
index d69848987c..4a8ce078fb 100644
--- a/docs/manual/mod/mod_proxy_fcgi.xml
+++ b/docs/manual/mod/mod_proxy_fcgi.xml
@@ -129,13 +129,24 @@ ProxyPass /myapp/ balancer://myappcluster/
reasons, you will want to define a worker
representing the same fcgi:// backend. The benefit of this form is that it
allows the normal mapping of URI to filename to occur in the server, and the
- local filesystem result is passed to the backend.
+ local filesystem result is passed to the backend. When FastCGI is
+ configured this way, the server can calculate the most accurate
+ PATH_INFO.
Proxy via Handler
<FilesMatch \.php$>
+ # Note: The only part that varies is /path/to/app.sock
SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/"
</FilesMatch>
+
+<FilesMatch ...>
+ SetHandler "proxy:fcgi://localhost:9000"
+</FilesMatch>
+
+<FilesMatch ...>
+ SetHandler "proxy:balancer://myappcluster/"
+</FilesMatch>
--
2.40.0