1 .TH rwsd 1 "October 22, 2002" "GNU" "Programmer's Manual"
4 rwsd \- a small, fast web server
8 [\fI\-p port\fR] [\fI\-C configpath\fR]
9 [\fI\-d\fR] [\fI\-f\fR] [\fI\-a address\fR]
12 \fBrwsd\fR is a small, fast web server, written in C, but with a
13 very comprehensible and straightforward design. It uses a lightweight
14 threading library called \fBpthrlib\fR (so it runs as a single process)
15 and a set of basic data types for C called \fBc2lib\fR.
17 .SH "COMMAND LINE OPTIONS"
20 listen on the given port (default is to listen on port 80)
23 find configuration files under path (default is \fB/etc/rws/\fR)
26 do not send stderr to the \fBerror_log\fR file (used when debugging)
29 do not fork into the background (used when debugging)
32 bind only to the given interface (default is to bind to all interfaces)
35 The server is configured through files in the \fB/etc/rws/\fR
36 directory. The main configuration file is \fB/etc/rws/rws.conf\fR
37 and virtual hosts are configured using files in
38 \fB/etc/rws/hosts/\fR\fIhostname\fR, for each virtual host
46 .SH "RUNNING THE SERVER"
47 To start the server running, log in as root and do:
51 To stop the server running, do:
55 A SysV start up script is also installed by default, if you prefer
56 to use that method for starting and stopping the service. Do:
58 .B /etc/init.d/rws.rc start
62 .B /etc/init.d/rws.rc stop
64 \fBrws\fR cannot run from \fBinetd\fR.
72 .SH "SHARED OBJECT SCRIPTS"
76 \fB/etc/rws/rws.conf\fR
78 \fB/etc/rws/hosts/default\fR
80 \fB/etc/rws/hosts/\fR\fIhostname\fR
84 \fBnew_pseudothread\fP(3).
86 \fBhttp://www.annexia.org/freeware/rws/\fP
89 The primary author is Richard W.M. Jones <\fBrich@annexia.org\fR>.
92 Copyright \(co 2000-2002 Richard W.M. Jones <\fBrich@annexia.org\fR>.
95 This software is licensed under the terms of the GNU Library General Public
96 License (GNU LGPL). Please see the file \fBCOPYING.LIB\fR which
97 accompanies the source distribution.