T.

Seeing the unix socket file is a good sign. Try debugging by running
httpd -dvvv so that you can see all the error messages in the console.

> The script does not return, which is probably because of the while
> loop waiting for a new connection. However, in a second shell I can
> see that this time the socket was created:
>
> # ls -ld /var/www/run/slowcgi.sock
> srwxr-xr-x  1 www  www  0 May 24 13:46 /var/www/run/slowcgi.sock

I do not see in the documentation that httpd can manage the fcgi
application itself. It is not required by the protocol. Some web
servers do have that functionality, as does the program spawn-fcgi.

> So the socket file is not being created when the script was started
> from httpd.

Regards,

Paul

Reply via email to