The SCGI connects your web applications through a TCP/IP socket (thus the application can run on a machine different from the web server).
run f executes
f cgi for each SCGI request.
`Automaticfor all arguments.
handle_request config output_type arg_store eh f ~log fd:
This is a
lower-level interface that processes exactly one request arriving
on the existing connection
log is the error logger function or
None, in which case
errors are passed through to the FCGI client.
The other arguments are just like for
The return value indicates whether the connection can be kept open or must be closed.
Add to httpd.conf or to, say, scgi.conf in /etc/apache/conf.d
LoadModule scgi_module /usr/lib/apache/1.3/mod_scgi.so # Serve the URL /scgi by contacting 127.0.0.1 on port 8888 SCGIMount /scgi 127.0.0.1:8888