A lightweight web server that serves local files.
No dependencies and (as of now) no HTTPS support.
One optional argument can be given to specify the current working directory. If the argument is not present, the working directory is assumed to be the parent directory of the executable. All relative paths in the configuration file are expressed relative to the working directory.
The configuration file is located at $HOME/.config/dioserver, and contains
route information in the following format:
<route1> <file1>
<route2> <file2>
...
You can have up to MAXROUTES routes (set at compile time in config.h).
Create the bin and obj directories. Customize the config.h file. Then run
makeExpected features:
- Keep-alive
- HTTPS