Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 67 lines (64 sloc) 2.149 kB
639b7c2 @klacke ""
authored
1 .TH YAWS "1" "" "" "User Commands"
2 .SH NAME
3 yaws \- yet another webserver
4 .SH SYNOPSIS
5 .B yaws
6 [\fIOPTIONS\fR]
7 .SH DESCRIPTION
8 .\" Add any additional description here
9 .PP
10 Yaws is fast lightweight webserver. It can run as daemon or
11 in interactive mode where it is possible to directly interact
12 with the webserver. Yaws is particularly good at generating
13 dynamic content. See the user docs for more information on that topic.
14
15 .TP
16 \fB\-i\fR
17 Interactive mode. This will start yaws in interactive mode with an erlang
18 prompt. All error_logger messages will be written to the tty as well in this
19 mode. Use this when developing yaws code.
20 .TP
21 \fB\-D\fR
22 Daemon mode. This will start yaws as a daemon.
23 .TP
a2a82e3 Added the -heart switch
Tobbe Tornquist authored
24 \fB\-heart\fR
25 This will cause the yaws system to be automatically restarted
26 in case it should crash. This switch also require the \fI-D\fR
27 switch to be present.
28 .TP
639b7c2 @klacke ""
authored
29 \fB\-d\fR
30 Debug mode. This will produce some auxilliary error output for some
0d7291a @klacke ""
authored
31 error conditions. The interactive option \fI-i\rR implies debug mode.
639b7c2 @klacke ""
authored
32 .TP
33 \fB\-c file\fR
34 Use a different configuration file than the default. The default configuration file
35 when running as root is /etc/yaws.conf. When running as a non priviliged user, yaws
36 will search for its configuration file in the following order. First in
37 $HOME/yaws.conf, then in ./yaws.conf and finally in /etc/yaws.conf
38 .TP
22fd788 Added the '-r <Mod>' switch.
Tobbe Tornquist authored
39 \fB\-r module\fR
40 Tells yaws to call \fImodule:start/0\fR at startup. This makes it possible
41 to startup user specific applications together with yaws.
42 .TP
639b7c2 @klacke ""
authored
43 \fB\-t\fR
44 Traffic trace mode. All traffic will be written to a trace file called trace.traffic
45 in the log directory.
46 .TP
47 \fB\-T\fR
48 HTTP trace mode. All HTTP messages will be written to a trace file called trace.http
49 in the log directory.
50 .TP
51 \fB\-h\fR
52 HUP the daemon. This forces the daemon to reread the configuration file. It also makes
00d4e2b @klacke ""
authored
53 the daemon empty all its internal content caches. Hence when updating the doc root,
639b7c2 @klacke ""
authored
54 HUPing the daemon is the fastest way to see the content updates.
55 .TP
56 \fB\-s\fR
57 Stop the daemon.
58 .TP
59 \fB\-v\fR
60 output version information and exit
61 .SH AUTHOR
62 Written by Claes Wikstrom
63 .SH "SEE ALSO"
64 .BR yaws.conf (5)
65 .BR erl (1)
66
Something went wrong with that request. Please try again.