root/cherokee/trunk/doc/bundle_spawn-fcgi.txt

Revision 1816, 2.0 kB (checked in by taher, 4 months ago)

--

Line 
1 == link:index.html[Index] -> link:bundle.html[Cherokee Bundle]
2
3 Cherokee Bundle: spawn-fcgi
4 ---------------------------
5
6 This is a tool used to spawn FastCGI processes so that any FastCGI
7 application can be interfaced with Cherokee. This is, for example, how PHP is
8 supported in Cherokee, though in PHP's case you do not need any
9 knowledge of spawn-fcgi since it is configured by default.
10
11 It supports many parameters, but there is not much to be added to the
12 information about arguments supplied by the programm.
13
14 This is the full information provided by the manpage.
15 **********************************************************************
16 *NAME*::
17        spawn-fcgi - Spawns FastCGI processes
18
19 *SYNOPSIS*::
20        spawn-fcgi -f <fcgiapp> -a <addr> -p port spawn-fcgi -s <path>
21
22 *DESCRIPTION*::
23        spawn-fcgi  spawns  FASTCGI  processes.  This way any FASTCGI compliant
24        application can be interfaced with Cherokee.
25
26 *OPTIONS*::
27        spawn-fcgi accepts the following options:
28
29        -h::
30              General usage instructions
31
32        -f <fcgiapp>::
33              Filename of the FastCGI application to spawn
34
35        -a <addr>::
36              IP address to bind to (for TCP/IP-based IPC)
37
38        -p <port>::
39              TCP port to bind to (for TCP/IP-based IPC)
40
41        -s <path>::
42              Path to the Unix-domain socket to bind to  (for  Unix  sockets-based IPC)
43
44        -C <children>::
45              (PHP only) Number of children to spawn. Defaults to 5.
46
47        -F <children>::
48              Number of children to fork. Defaults to 1.
49
50        -P <path>::
51              Name of the PID file for spawned processes
52
53        -n::
54              No forking should take place (for daemontools)
55
56        -v::
57              Shows version information and exits
58
59        -c <dir>::
60              Chroot to specified directory (can only be invoked by root)
61
62        -u::
63              User ID to change to (can only be invoked by root)
64
65        -g::
66              Group ID to change to (can only be invoked by root)
67 **********************************************************************
Note: See TracBrowser for help on using the browser.