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 BDDE510FC7 for ; Mon, 24 Nov 2014 16:19:03 +0000 (UTC) Received: (qmail 5254 invoked by uid 500); 24 Nov 2014 16:19:03 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 5188 invoked by uid 500); 24 Nov 2014 16:19: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 5174 invoked by uid 99); 24 Nov 2014 16:19: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 16:19: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 16:18:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 63E022388B56; Mon, 24 Nov 2014 16:17:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1641416 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml Date: Mon, 24 Nov 2014 16:17:40 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141124161740.63E022388B56@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: covener Date: Mon Nov 24 16:17:39 2014 New Revision: 1641416 URL: http://svn.apache.org/r1641416 Log: Merge r1641414 from trunk: steal the sethandler example from mod_proxy.html and mention worker issue Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml?rev=1641416&r1=1641415&r2=1641416&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml Mon Nov 24 16:17:39 2014 @@ -120,6 +120,22 @@ ProxyPass /myapp/ balancer://myappcluste </Proxy> + + Proxy via Handler +

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$> + 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.

+
Environment Variables