table of contents
AVERELL(1) | averell User Manual | AVERELL(1) |
NAME¶
averell - An incredibly stupid (but fast) web serverSYNOPSIS¶
averell [-h | --help] [-p PORT | --port=PORT] [-c | --cors] [-v | --verbose] [-d | --debug] [-a | --access] [-I | --no-index] [directory]
DESCRIPTION¶
This manual page documents briefly the averell.averell is an incredibly simple web server, aiming at serving a single directory, fast.
OPTIONS¶
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.-h, --help
-p PORT, --port=PORT
-c, --cors
-v, --verbose
-d, --debug
-a, --access
-I, --no-index
directory
.AVLACCESS FILE FORMAT¶
This section describes the .avlaccess file format..avlaccess files can be placed anywhere in a directory served by averell. It contains properties applicable to this directory. Properties are inherited from parent directories.
SYNTAX¶
File is parsed using the file:consult/1 function of erlang/OTP (see erlang/OTP documentation[1]). Parser is strict, be careful with ending dot, comma between tuples and no comma after last tuple.Example of such file is given below:
[ {option1, value1}, {option2, value2} ].
OPTIONS¶
{index, <<"index.html">>}{index, noindex}
AUTHOR¶
Jean Parpaillon <jean.parpaillon@free.fr>COPYRIGHT¶
Copyright © 2014 Jean ParpaillonPermission is granted to copy, distribute and/or modify this document under the terms of the Apache License Version 2 or (at your option) any later version published by the Apache Foundation.
On Debian systems, the complete text of the Apache can be found in /usr/share/common-licenses/Apache-2.0.
NOTES¶
- 1.
- erlang/OTP documentation
04/18/2016 | averell |