From: Jeff Trawick Date: Thu, 15 Apr 2010 00:02:14 +0000 (+0000) Subject: tweak some language, add examples X-Git-Tag: 2.3.6~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9cf11458a4790eb977d8dd8da8c95450eb6e502c;p=apache tweak some language, add examples git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@934249 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_fcgi.xml b/docs/manual/mod/mod_proxy_fcgi.xml index 5981d24d5d..f6c3712647 100644 --- a/docs/manual/mod/mod_proxy_fcgi.xml +++ b/docs/manual/mod/mod_proxy_fcgi.xml @@ -33,12 +33,18 @@

This module requires the service of mod_proxy. It provides support for the - FastCGI.

+ FastCGI protocol.

-

Thus, in order to get the ability of handling FastCGI +

Thus, in order to get the ability of handling the FastCGI protocol, mod_proxy and mod_proxy_fcgi have to be present in the server.

+

Unlike mod_fcgid + or mod_fastcgi, + mod_proxy_fcgi has no provision for starting the + application process; fcgistarter is provided for + that purpose.

+ Warning

Do not enable proxying until you have secured your server. Open proxy @@ -49,4 +55,27 @@ fcgistarter mod_proxy + +

Examples +

Remember, in order to make the following examples work, you have to + enable mod_proxy and mod_proxy_fcgi.

+ + Simple script + ProxyPass /myapp/ fcgi://localhost:4000/ + + +

The balanced gateway needs mod_proxy_balancer in + addition to the already mentioned proxy modules.

+ + Balanced gateway + ProxyPass /myapp/ balancer://myappcluster/
+ <Proxy balancer://myappcluster/>
+ + BalancerMember fcgi://localhost:4000/
+ BalancerMember fcgi://localhost:4001/
+
+ </Proxy> +
+
+