From: Eric Covener
Date: Fri, 19 Dec 2014 23:41:58 +0000 (+0000)
Subject: add more examples, mention one reason to use SetHandler.
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0240a92615509a66937aedd12e0b70726dc9fcd6;p=thirdparty%2Fapache%2Fhttpd.git
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
---
diff --git a/docs/manual/mod/mod_proxy_fcgi.xml b/docs/manual/mod/mod_proxy_fcgi.xml
index d69848987c4..4a8ce078fbe 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>