SYNOPSIS
/etc/weborf.conf
DESCRIPTION
Weborf is a minimal webserver. Also has a limited support for webdav.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.
- use-mime
-
Can be true or false. If true weborf will send the Content-Type header to the clients. Turning it off will increase speed but might cause problems with some old clients.
- cgi
-
List of extensions to consider as dynamic pages and binaries to execute them
- auth-bin
-
Path of the binary that provides authentication to weborf
- auth-socket
-
Path of the unix socket that weborf will use to connect to the authentication server
- cachedir
-
Will set the path of the directory used for caching
- 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/examples/weborf.conf
VERSION
Weborf0.13
AUTHORS
Salvo "LtWorf" Tomaselli <[email protected]> Salvo Rinaldi <[email protected]>