-
Notifications
You must be signed in to change notification settings - Fork 104
/
cherokee.conf.sample.pre
95 lines (81 loc) · 3.34 KB
/
cherokee.conf.sample.pre
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
##
## cherokee.conf -- Cherokee HTTP server configuration file
##
## Common use
##
## NOTE: This file is NOT meant to be edited by hand.
##
# Server
#
server!port = 80
server!port_tls = 443
server!timeout = 60
server!keepalive = 1
server!keepalive_max_requests = 500
server!pid_file = /var/run/cherokee.pid
server!server_tokens = full
server!encoder!gzip!allow = html,html,txt,css,js
server!panic_action = %prefix%/bin/cherokee-panic
server!mime_files = %sysconfdir%/cherokee/mime.types
# Default virtual server
#
vserver!default!document_root = %wwwroot%
vserver!default!directory_index = index.php,index.html
vserver!default!logger = combined
vserver!default!logger!access!type = file
vserver!default!logger!access!filename = /var/log/cherokee.access
vserver!default!logger!access!buffsize = 16384
vserver!default!logger!error!type = file
vserver!default!logger!error!filename = /var/log/cherokee.error
vserver!default!directory!/!handler = common
vserver!default!directory!/!handler!iocache = 0
vserver!default!directory!/!priority = 1
vserver!default!directory!/icons!document_root = %prefix%/share/cherokee/icons/
vserver!default!directory!/icons!handler = file
vserver!default!directory!/icons!priority = 2
vserver!default!directory!/cherokee_themes!document_root = %prefix%/share/cherokee/themes/
vserver!default!directory!/cherokee_themes!handler = file
vserver!default!directory!/cherokee_themes!priority = 3
vserver!default!directory!/cgi-bin!document_root = %prefix%/lib/cgi-bin/
vserver!default!directory!/cgi-bin!handler = cgi
vserver!default!directory!/cgi-bin!priority = 4
vserver!default!directory!/about!handler = server_info
vserver!default!directory!/about!handler!just_about = 1
vserver!default!directory!/about!priority = 5
vserver!default!extensions!php!handler = fcgi
vserver!default!extensions!php!handler!balancer = round_robin
vserver!default!extensions!php!handler!balancer!type = interpreter
vserver!default!extensions!php!handler!balancer!local1!host = localhost:1234
vserver!default!extensions!php!handler!balancer!local1!env!PHP_FCGI_CHILDREN = 5
vserver!default!extensions!php!handler!balancer!local1!interpreter = /usr/lib/cgi-bin/php -b 1234
vserver!default!extensions!php!priority = 99999
# Icons
#
icons!directory = folder.png
icons!parent_directory = arrow_turn_left.png
icons!default = page_white.png
icons!file!bomb.png = core
icons!file!page_white_go.png = *README*
icons!suffix!html.png = html,htm
icons!suffix!css.png = css
icons!suffix!page_white_c.png = c,cpp
icons!suffix!page_white_php.png = php
icons!suffix!page_white_acrobat.png = pdf
icons!suffix!page_white_office.png = doc,ppt,xls
icons!suffix!page_white_text.png = txt,text,rtf,sdw
icons!suffix!font.png = ttf
icons!suffix!music.png = au,snd,mid,midi,kar,mpga,mpega,mp2,mp3,m3u,sid,wav,aif,aiff,aifc,gsm,m3u,wma,wax,ra,rm,ram,pls,sd2,ogg
icons!suffix!package.png = tar,gz,bz2,zip,rar,ace,lha,Z,z,7z
icons!suffix!film.png = avi,ogg,mpeg,mpga,mpe,mpg,mpeg3,mp2,dl,fli,qt,mov,movie
icons!suffix!cup.png = java,class,jar
icons!suffix!cd.png = iso,ngr,cue
icons!suffix!camera.png = jpg,jpeg,jpe
icons!suffix!color_wheel.png = png,gif,xcf,bmp,pcx,tiff,tif,cdr,psd,xpm,xbm
icons!suffix!script.png = sh,csh,ksh,tcl,tk,py,pl
icons!suffix!ruby.png = rb
icons!suffix!control_play.png = bin,exe,com,msi,out
#
# Include files
#
include = %sysconfdir%/cherokee/mods-enabled
include = %sysconfdir%/cherokee/sites-enabled