Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB0B110456 for ; Mon, 24 Nov 2014 18:06:03 +0000 (UTC) Received: (qmail 90472 invoked by uid 500); 24 Nov 2014 18:06:03 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90404 invoked by uid 500); 24 Nov 2014 18:06:03 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 90394 invoked by uid 99); 24 Nov 2014 18:06:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 18:06:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Nov 2014 18:05:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6501123889E9; Mon, 24 Nov 2014 18:05:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1641437 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en Date: Mon, 24 Nov 2014 18:05:10 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141124180510.6501123889E9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Mon Nov 24 18:05:09 2014 New Revision: 1641437 URL: http://svn.apache.org/r1641437 Log: xforms Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en?rev=1641437&r1=1641436&r2=1641437&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en Mon Nov 24 18:05:09 2014 @@ -118,16 +118,20 @@ </Proxy> -

Proxy via Handler

You can also force a request to be handled as a reverse-proxy +

You can also force a request to be handled as a reverse-proxy request, by creating a suitable Handler pass-through. The example configuration below will pass all requests for PHP scripts to the - specified FastCGI server using reverse proxy: -

<FilesMatch \.php$>
+        specified FastCGI server using reverse proxy.
+        This feature is available in Apache HTTP Server 2.4.10 and later. For performance
+       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.
+      

+

Proxy via Handler

<FilesMatch \.php$>
     SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"
 </FilesMatch>
-

This feature is available in Apache HTTP Server 2.4.10 and later. For performance - reasons, you will want to define a worker - representing the same fcgi:// backend.

+
top