820f310fab1eeb76b41ae2f2dc0a820ccf4055da
[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     auth_log = true
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
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