The SCGI protocol is a replacement for the Common Gateway Interface (CGI) protocol. It is a standard for applications to interface with HTTP servers. It is similar to FastCGI but is designed to be easier to implement.
The is a short specification that defines the protocol. Also available is a package that implements the client and server (Apache module) sides of the protocol. The latest release is scgi 1.15 (sig). The development version of source can be downloaded using Git. The nginx web server has built-in support for the SCGI protocol.
Some people appear to have trouble getting mod_scgi to work on MacOS. Martin Blom has provided a procedure that appears to work.