GCS Amplitude
GCS Amplitude

Apache Module mod_proxy_fcgi

This module requires the service of

. It provides support for the mod_proxyFastCGI protocol.

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

have to be present in the server.modproxyfcgi

Unlike modfcgid and modfastcgi,

has no provision for starting the application process; modproxyfcgi

is provided (on some platforms) for that purpose. Alternatively, external launching or process management may be available in the FastCGI application framework in use.fcgistarter

Do not enable proxying until you have secured your server. Open proxy servers are dangerous both to your network and to the Internet at large.

Remember, in order to make the following examples work, you have to enable

ProxyPass /myapp/ fcgi://localhost:4000/

This application should be able to handle multiple concurrent connections.

enables connection reuse by default, so after a request has been completed the connection will be held open by that httpd child process and won't be reused until that httpd process routes another request to the application. If the FastCGI application is unable to handle enough concurrent connections from httpd, requests can block waiting for the application to close an existing connection. One way to resolve this is to disable connection reuse on the mod_proxyProxyPass

directive, as shown in the following example:

The balanced gateway needs

and at least one load balancer algorithm module, such as modproxybalancer

, in addition to the proxy modules listed above. modlbmethodbyrequests

is the default, and will be used for this example configuration.modlbmethodbyrequests

ProxyPass /myapp/ balancer://myappcluster/ BalancerMember fcgi://localhost:4000 BalancerMember fcgi://localhost:4001

In addition to the configuration directives that control the behaviour of

, there are a number of environment variables that control the FCGI protocol provider:mod_proxy

will neither create nor export the modproxyfcgi

to generate a "best guess" for

Modules | Directives | FAQ | Glossary | Sitemap

Apache HTTP Server Version 2.4

Modules

Modules | Directives | FAQ | Glossary | Sitemap

Apache Module mod_proxy_fcgi

Available Languages: en | fr

en

Available Languages: en | fr

Apache License, Version 2.0

Copyright 2014 The Apache Software Foundation.Licensed under the Apache License, Version 2.0.