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