The config file
the config file is used as
[TOPIC]
KEY=VALUE
libwebserver configurations must be in topic LIBWEBSERVER as:
[LIBWEBSERVER]
LOG=help.log
PORT=80
USESSL=1
CERTFILE=foocert.pm
MIMEFILE=/etc/mime.types
LOCAL=1
LOG -> the log file
PORT -> the listen port that will be used for tcp connections
USESSL -> the ssl flag if you want to use openssl for secure server (https)
CERTFILE -> the file that contains certificate for ssl connections
MIMEFILE -> the file that contains mime.types similer to apache mimefile
LOCAL -> only accept connections from 127.0.0.1