weborf(5)
NAME
weborf.conf - configuration file for weborf daemon
SYNOPSIS
/etc/weborf.conf
DESCRIPTION
Weborf is a minimal webserver, can serve only GET and POST requests.
Can be started as stand-alone or as SystemV daemon. This manual page
documents Weborf's configuration file, used only when it is started as
daemon.
On debian systems, the script to run weborf as a daemon is located into
/usr/share/docs/weborf and has to be manually copied into /etc/init.d
Weborf is released under the GNU General Public License version 3.
DESCRIPTION
Options are case sensitive. Immediately followed by the equal = sign,
without any space between name and value. Lines beginning with # will
be ignored and treated as comments.
- indexes
- By default weborf searches for index.html. Anyway it is possible to specify a different index file and also many index files. Name of the pages must be separated by a comma and between them there aren't spaces.
- basedir
- Default base directory used by the webserver. The default means that this will be used also when virtual hosts are enabled, if the requested host is unknown. Of course the user used for the webserver will need to have access to this directory.
- use-cgi
- Can be true or false. If false weborf will handle all files as normal files. Otherwise it will use the CGI protocol to execute some files.
- user Username of the user that will run the webserver. On debian this
- is usually www-data.
- virtual
- This directive is used to enable virtualhosts. One line is needed for each port. The format is: virtual#port#domain1=basedir1,domain2=basedir2
EXAMPLE
Example file can be found in /usr/share/doc/weborf
SEE ALSO
VERSION
Weborf0.11
WEB
http://galileo.dmi.unict.it/wiki/weborf/
AUTHORS
- Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
Salvo Rinaldi <salvin@anche.no>