root/cherokee/trunk/doc/bundle_cherokee-worker.txt

Revision 2240, 1.9 kB (checked in by taher, 1 month ago)

--

Line 
1 == link:index.html[Index] -> link:bundle.html[Cherokee Bundle]
2
3 Cherokee Bundle: cherokee-worker
4 --------------------------------
5
6 This is the main Cherokee program. It can be launched in several ways
7 as shown in the section link:basics_running_cherokee.html[Running
8 Cherokee]. Unless specified otherwise, `cherokee-worker` will try to
9 run with the configuration present in your default
10 link:dev_cherokee.conf.html[cherokee.conf] file.
11
12 This is the full information provided by the manpage:
13 **********************************************************************
14 *NAME*::
15        `cherokee-worker` - Cherokee Web Server internal worker
16
17 *SYNOPSIS*::
18        `cherokee-worker` [options]
19
20 *DESCRIPTION*::
21        `cherokee-worker`  is a part of Cherokee, an extremely fast, flexible and
22        embeddable web server. This executable is meant to be invoked  only  by
23        `cherokee`. Executing it directly is a discouraged practice.
24
25 *DEVELOPMENT*::
26        This  binary implements the Cherokee Web Server functionality, although
27        it misses a few security features implemented on the main executable,
28        `cherokee`.
29        Executing it alone could be only useful for debugging purposes.
30
31 **********************************************************************
32
33 The accepted parameters are those of the
34 link:bundle_cherokee.html[cherokee] binary.
35
36 To illustrate the usefulness of such options take the following
37 example:
38
39 ----
40 $ cherokee-worker -p 8080 -r `pwd`
41 ----
42
43 Since both absolute and relative paths are accepted, it is equivalent to:
44
45 ----
46 $ cherokee-worker -p 8080 -r .
47 ----
48
49 This would allow any non-privileged user to statically share the
50 contents of the current directory. It's a great way to share files in a
51 local network whenever you are in a hurry. Remember that in Unix
52 systems only processes launched by the superuser have privileges to
53 be hooked to the lower 1024 ports of the system.
Note: See TracBrowser for help on using the browser.