Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 118 lines (59 sloc) 2.511 kB
7871338 @klacke win32 work
authored
1
2 # conf for yaws
3
4
5 # first we have a set of globals
6 # That apply to all virtual servers
7
8
9 # This is the directory where all logfiles for
10 # all virtual servers will be written
11
12 logdir = "%yawsdir%/logs"
13
14 # This the path to a directory where additional
15 # beam code can be placed. The daemon will add this
16 # directory to its search path
17
18 ebin_dir = "%yawsdir%/examples/ebin"
19
20
21 # This is a directory where application specific .hrl
22 # files can be placed. application specifig .yaws code can
23 # then include these .hrl files
24
25 include_dir = "%yawsdir%/examples/include"
26
27
28
29
30
31 # This is a debug variable, possible values are http | traffic | false
32 # It is also possible to set the trace (possibly to the tty) while
33 # invoking yaws from the shell as in
34 # yaws -i -T -x (see man yaws)
35
36 trace = false
37
38
39
40
41
42 # it is possible to have yaws start additional
43 # application specific code at startup
44 #
45 # runmod = mymodule
46
47
48 # By default yaws will copy the erlang error_log and
49 # end write it to a wrap log called report.log (in the logdir)
50 # this feature can be turned off. This would typically
51 # be the case when yaws runs within another larger app
52
53 copy_error_log = true
54
55
56 # Logs are wrap logs
57
58 log_wrap_size = 1000000
59
60
61 # Possibly resolve all hostnames in logfiles so webalizer
62 # can produce the nice geography piechart
63
64 log_resolve_hostname = false
65
66
67
68 # fail completely or not if yaws fails
69 # to bind a listen socket
70 fail_on_bind_err = true
71
72
73
74
75 # If HTTP auth is used, it is possible to have a specific
76 # auth log.
77
78 auth_log = true
79
80
81 # When we're running multiple yaws systems on the same
82 # host, we need to give each yaws system an individual
83 # name. Yaws will write a number of runtime files under
84 # ${HOME}/.yaws/${id}
85 # The default value is "default"
86
87
88 # id = myname
89
90
91 # earlier versions of Yaws picked the first virtual host
92 # in a list of hosts with the same IP/PORT when the Host:
93 # header doesn't match any name on any Host
94 # This is often nice in testing environments but not
95 # acceptable in real live hosting scenarios
96
97 pick_first_virthost_on_nomatch = true
98
99
100 <server localhost>
101 port = 8080
102 listen = 0.0.0.0
103 docroot = "%yawsdir%/www"
104 appmods = <cgi-bin, yaws_appmod_cgi>
105 </server>
106
107
108 # And then no ssl server, it seems as if the old ssl server
109 # isn't working on on win32, and the new one is still unuseable.
110
111
112
113
114
115
116
117
Something went wrong with that request. Please try again.