</highlight>
</example>
- <example><title>Proxy via Handler</title>
<p>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:
+ 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 <a href="../mod_proxy.html#worker">worker</a>
+ 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.
</p>
+ <example><title>Proxy via Handler</title>
<highlight language="config">
<FilesMatch \.php$>
SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/"
</FilesMatch>
</highlight>
- <p>This feature is available in Apache HTTP Server 2.4.10 and later. For performance
- reasons, you will want to define a <a href="../mod_proxy.html#worker">worker</a>
- representing the same fcgi:// backend.</p>
</example>
</section>