Go to file
Stefan Bühler 8a505b3173 Upstream version 0.1.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.14 (GNU/Linux)
 
 iQIcBAABCAAGBQJSTUIzAAoJEODn0BcelbrX6xgP/2SnBL2PyFnYLJHELDj0hSw4
 fEpea+7IQot/SrPFPep6RH6dwQIGn+fruh+RIa7CdNU11JEDFp9CZPtJsBaWT1GF
 GaJwTqfFvjASC8EMaS5C2G5AzuWiWhtdmqe64/IhPaOS9YtI+f0BTQhwzCDuHaGC
 3YCUIi00mKEZ0S2+qYYuR7mhWJKShOTnKgtVotCWowqugNkGeF3VJzb9DmVLErhA
 hHTWcBBQh1lZjp5Rop85F9IL/aN/opG9NwrctbA8HUaaAXYkgOIX2Ex6tgy+KiFE
 5bFNyJhA4j5Bg6YkzHOb5jBJ7lgWLjCUu7mVcjnlvA2lc5bBJELM31PSh9OQSM6Y
 g/Q8sNvqNZ7BOAuKbdxkACIoXjGMFd2cJeW9gDdgH1CZLsoeIiGt2TaC3qGAKGy2
 Dk4ZGt9Uvwn5iqcST4Xgf4gTuIYHO3lhcwUzEq1+K55F0rUXR9jK9cDBbgjjiKjc
 1Nnofn6NiXcFetQWcK4TIY9geq9niYyNzfcc1uaxldHb3Z/qlZaTrDleorAQLhPk
 nqnTPd94Sn91Z2/Tt6DdLcf12c1R9aPhEKJHjt31wA+BwIru4q6DfA3H6leJnBW1
 kznPf/OICp4rx9VXYxSWe6/1l7/0tfbqMUQOzURVJRtx8OM5q0BJxBEgUfuZS5Pj
 PVe9ZUQBhNM3vvXk2A9l
 =ubtP
 -----END PGP SIGNATURE-----

Merge tag 'scgi-cgi-tar-0.1.0'

Upstream version 0.1.0

# gpg: Signature made Thu 03 Oct 2013 12:08:51 PM CEST using RSA key ID 1E95BAD7
# gpg: Good signature from "Stefan Bühler <stefan@stbuehler.de>"
# gpg:                 aka "Stefan Bühler <stbuehler@web.de>"
# gpg:                 aka "Stefan Bühler <stbuehler@freenet.de>"
# gpg:                 aka "Stefan Bühler <lighttpd@stbuehler.de>"
# gpg:                 aka "Stefan Bühler <stbuehler@lighttpd.net>"
2013-10-03 12:08:53 +02:00
CMakeLists.txt initial commit 2013-10-02 18:43:47 +02:00
COPYING initial commit 2013-10-02 18:43:47 +02:00
Makefile.am initial commit 2013-10-02 18:43:47 +02:00
Makefile.in Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
README.rst fix typo in url 2013-10-02 18:55:31 +02:00
aclocal.m4 Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
autogen.sh initial commit 2013-10-02 18:43:47 +02:00
compile Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
config.h.cmake initial commit 2013-10-02 18:43:47 +02:00
config.h.in Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
configure Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
configure.ac initial commit 2013-10-02 18:43:47 +02:00
depcomp Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
install-sh Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
ltmain.sh Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
missing Imported Upstream version 0.1.0 2013-10-03 12:08:50 +02:00
scgi-cgi.1 initial commit 2013-10-02 18:43:47 +02:00
scgi-cgi.c initial commit 2013-10-02 18:43:47 +02:00

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