homepage: http://redmine.lighttpd.net/projects/scgi-cgi/wiki
scgi-cgi is a SCGI application to run normal cgi applications. It doesn't make CGI applications faster, but it allows you to run them on a different host and with different user permissions (without the need for suexec).
scgi-cgi is released under the MIT license.
Examples for spawning a scgi-cgi instance with daemontools or runit::
#!/bin/sh
# run script
exec spawn-scgi -n -s /var/run/scgi-cgi.sock -u www-default -U www-data -- /usr/bin/scgi-cgi
- libevent (https://libevent.org/)
- meson (https://mesonbuild.com/)
Clone from git: git clone https://git.lighttpd.net/lighttpd/scgi-cgi.git
Setup a build directory build:
meson setup build --prefix /usr/local
Compile it:
meson compile -C build
Install:
meson install -C build