pkgsrc-wip/spawnfcgi/MESSAGE
Volkmar Seifert 6ce4723634 Import spawn-fcgi-1.6.2 as wip/spawnfcgi.
spawn-fcgi is used to spawn remote and local FastCGI processes.
Until recently, it was part of the lighttpd project, but has been
unhinged into its own projects some weeks ago. Because of this, I have 
made some efforts to include it into pkgsrc as its own package.

Here the official statement from the project-website about spawn-fcgi:

While  it is obviously needed to spawn remote FastCGI backends (the web
server can only spawn local ones), it is  recommended  to  spawn  local
backends with spawn-fcgi, too.

Reasons why you may want to use spawn-fcgi instead of something else:

*  Privilege  separation  without  needing  a  suid-binary or running a
   server as root.
*  You can restart your web server and the FastCGI applications without
   restarting the others.
*  You can run them in different chroot()s.
*  Running  your  FastCGI applications doesn't depend on the web server
   you are running, which  allows  for  easier  testing  of  other  web
   servers.
2009-04-29 15:51:24 +00:00

26 lines
1 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2009/04/29 15:51:24 mjoellnir Exp $
Use the following flags to adjust spawn-fcgi to your demands:
(These flags come into /etc/rc.conf. Flags that are commented out
are added here with their default-values. You can leave them untouched
or adjust them to your own demands)
### Enables spawn-fcgi
spawnfcgi=YES
### The path to the pidfile...
#spawnfcgi_pidfile=@VARBASE@/run/spawnfcgi.pid
### The path to the actual FastCGI-Application
#spawnfcgi_app=@PREFIX@/libexec/cgi-bin/php
### The number of children, fast-cgi should launch for processing requests
#spawnfcgi_children=10
### The IP, spawn-fcgi should bind to...
#spawnfcgi_ip=127.0.0.1
### The port, spawn-fcgi should listen on...
#spawnfcgi_port=9999
### The user, spawn-fcgi should change to after startup
#spawnfcgi_user=www
### The group, spawn-fcgi should change to after startup
#spawnfcgi_group=www
===========================================================================