FastCGI application to run cgi applications https://redmine.lighttpd.net/projects/fcgi-cgi
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.

54 lines
1.2 KiB

  1. Description
  2. -----------
  3. :Homepage:
  4. http://redmine.lighttpd.net/projects/fcgi-cgi/wiki
  5. fcgi-cgi is a FastCGI application to run normal cgi applications. It doesn't
  6. make CGI applications faster, but it allows you to run them on a different
  7. host and with different user permissions (without the need for suexec).
  8. lighttpd2 won't have a mod_cgi, so you need this FastCGI wrapper to be able
  9. to execute standard cgi applications like mailman and cgit.
  10. fcgi-cgi is released under the `MIT license <http://git.lighttpd.net/fcgi-cgi.git/tree/COPYING>`_
  11. Usage
  12. -----
  13. Examples for spawning a fcgi-cgi instance with daemontools or runit::
  14. #!/bin/sh
  15. # run script
  16. exec spawn-fcgi -n -s /var/run/fastcgi-cgi.sock -u www-default -U www-data -- /usr/bin/fcgi-cgi
  17. Build dependencies
  18. ------------------
  19. * glib >= 2.16.0 (http://www.gtk.org/)
  20. * libev (http://software.schmorp.de/pkg/libev.html)
  21. * cmake or autotools (for snapshots/releases the autotool generated files are included)
  22. Build
  23. -----
  24. * snapshot/release with autotools::
  25. ./configure
  26. make
  27. * build from git: ``git clone git://git.lighttpd.net/fcgi-cgi.git``
  28. * with autotools::
  29. ./autogen.sh
  30. ./configure
  31. make
  32. * with cmake (should work with snapshots/releases too)::
  33. cmake .
  34. make