You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
9 years ago | |
---|---|---|
cmake | 9 years ago | |
debian | 9 years ago | |
CMakeLists.txt | 9 years ago | |
COPYING | 9 years ago | |
Makefile.am | 9 years ago | |
Makefile.in | 9 years ago | |
README.rst | 9 years ago | |
aclocal.m4 | 9 years ago | |
autogen.sh | 9 years ago | |
compile | 9 years ago | |
config.h.cmake | 9 years ago | |
config.h.in | 9 years ago | |
configure | 9 years ago | |
configure.ac | 9 years ago | |
depcomp | 9 years ago | |
install-sh | 9 years ago | |
ltmain.sh | 9 years ago | |
missing | 9 years ago | |
scgi-cgi.1 | 9 years ago | |
scgi-cgi.c | 9 years ago |
README.rst
Description
-----------
: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 <http://git.lighttpd.net/scgi-cgi.git/tree/COPYING>`_
Usage
-----
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
Build dependencies
------------------
* libevent (http://libevent.org/)
* cmake or autotools (for snapshots/releases the autotool generated files are included)
Build
-----
* snapshot/release with autotools::
./configure
make
* build from git: ``git clone git://git.lighttpd.net/scgi-cgi.git``
* with autotools::
./autogen.sh
./configure
make
* with cmake (should work with snapshots/releases too)::
cmake .
make