FIX suppression des /;;.*$/ (définit étant un commentaire) lors de la minification...
[euphorik.git] / tools / yaws.conf
1 # Configuration pour euphorik.ch en mode de développement.
2
3 logdir = /tmp
4
5 ebin_dir = /usr/lib/yaws/ebin
6 ebin_dir = ../modules/ebin
7
8 include_dir = /usr/lib/yaws/include
9 include_dir = ../modules/include
10
11 <server localhost>
12     port = 8090
13     listen = 0.0.0.0
14     docroot = ..
15     allowed_scripts = yaws
16     appmods = <request, euphorik_requests>
17     start_mod = euphorik_daemon
18     # dir_listings = true
19 </server>
20
21
22 # This is a debug variable, possible values are http | traffic | false
23 # It is also possible to set the trace (possibly to the tty) while
24 # invoking yaws from the shell as in
25 # yaws -i -T -x (see man yaws)
26 trace = false
27
28 cache_refresh_secs = 0
29
30 # it is possible to have yaws start additional 
31 # application specific code at startup
32 # runmod = my_app
33
34
35 # By default yaws will copy the erlang error_log and
36 # end write it to a wrap log called report.log (in the logdir)
37 # this feature can be turned off. This would typically
38 # be the case when yaws runs within another larger app
39 copy_error_log = true
40
41
42 # Logs are wrap logs
43 log_wrap_size = 1000000
44
45
46 # Possibly resolve all hostnames in logfiles so webalizer
47 # can produce the nice geography piechart
48 log_resolve_hostname = false
49
50
51 # fail completely or not if yaws fails 
52 # to bind a listen socket
53 fail_on_bind_err = true
54
55
56 # If HTTP auth is used, it is possible to have a specific
57 # auth log.
58 auth_log = true
59
60
61 # When we're running multiple yaws systems on the same 
62 # host, we need to give each yaws system an individual
63 # name. Yaws will write a number of runtime files under
64 # /tmp/yaws/${id}
65 # The default value is "default"
66 #
67 # In Debian system init script supplies id from the command
68 # line, so it's not necessary to specify it here
69 # id = debian_yaws_pre_prod
70
71
72 # earlier versions of Yaws picked the first virtual host
73 # in a list of hosts with the same IP/PORT when the Host:
74 # header doesn't match any name on any Host
75 # This is often nice in testing environments but not
76 # acceptable in real live hosting scenarios
77 pick_first_virthost_on_nomatch = true
78
79 # All unices are broken since it's not possible to bind to
80 # a privileged port (< 1024) unless uid==0
81 # There is a contrib in jungerl which makes it possible by means 
82 # of an external setuid root programm called fdsrv to listen to
83 # to privileged port.
84 # If we use this feature, it requires fdsrv to be properly installed.
85 # Doesn't yet work with SSL.
86 use_fdsrv = false