[FASTCGI] Can FCGI module run automatically?
rclemley at yahoo.com
Wed Sep 8 17:52:02 EDT 2010
On 09/08/2010 03:12 AM, Omar Li wrote:
> Hi , All,
> Can FCGI module run automatically without web server's operating(such
> as apache)?
> The FCGI module is in the directory /fcgi-bin/ of Apache, e.g. echo.fcgi.
> Now echo.fcgi will be started only when the first request comes since
> Apache's beginning running. Then it goes long-lively.
> Can it run when without a request? E.g. echo.fcgi will run when Apache
> And what should I do?
To run an FastCGI server app without apache operating, you would set up
We use the lower level interface to FastCGI from <fcgiapp.h>:
Create a Unix Domain socket with FCGX_OpenSocket() and ensure the
permissions on the socket file permit the apache2 user to read/write to it.
Then pass the socket to FCGX_InitRequest().
More information about the FastCGI-developers