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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
##
## cherokee.conf -- Cherokee HTTP server configuration file
##
##
## Port: The port to which the standalone server listens. For
## ports < 1023, you will need cherokee to be run as root initially.
## Security: if you do start the server as root, be sure not to set
## "User" to root.
##
Port 80
##
## IPv6 support
##
IPv6 On
##
## This directiveis used to tell the server which IP address to listen to.
##
#Listen 127.0.0.1
##
## If you wish cherokee to run as a different user or group, you must run
## cherokee as root initially and it will switch.
##
## Eg: User www-data
## Group www-data
##
## Eg: User 65534
## Group 65534
##
#User nobody
#Group nogroup
##
## Chroot:
##
# Chroot /var/www
##
## Timeout: The number of seconds before receives and sends time out.
##
Timeout 15
##
## KeepAlive: Whether or not to allow persistent connections (more than
## one request per connection). Set to "Off" to deactivate.
##
KeepAlive On
##
## MaxKeepAliveRequests: The MaxKeepAliveRequests directive limits the
## number of requests allowed per connection when KeepAlive is on.
## We recommend that this setting be kept to a high value for maximum
## server performance.
##
MaxKeepAliveRequests 500
##
## DirectoryIndex: Name of the file or files to use as a pre-written HTML
## directory index. Separate multiple entries with commas.
##
DirectoryIndex index.php, index.html, index.htm, index.shtml
##
## DocumentRoot: The directory out of which you will serve your
## documents. By default, all requests are taken from this directory, but
## symbolic links and aliases may be used to point to other locations.
##
DocumentRoot /var/www/localhost/htdocs
##
## Hide Version: Hide the software version
##
HideVersion Off
##
## Hide ServerName: Hide the software version and the server name
##
HideServerName Off
##
## PidFile: The file in which the server should record its process
## identification number when it starts.
##
PidFile /var/run/cherokee.pid
##
## Icons: Extension to icon file.
##
Icons /etc/cherokee/icons.conf
##
## MimeFile: Mime types file. By default you should leave it
## commented
##
MimeFile /etc/cherokee/mime.conf
##
## Load the GZip encoder plugin
## only used if the client support the encoding ("Accept-Encoding:")
##
# Encoder gzip {
# Allow html, htm, txt
# Deny jpg, png, gz
# }
##
## Advanced settings, do not change if you are not sure..
##
Include /etc/cherokee/advanced.conf
##
## Include the module configuration:
##
Include /etc/cherokee/mods-enabled
##
## Include the virtual host configuration:
##
Include /etc/cherokee/sites-enabled
|