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