Add simple cgi support +:

* read file byte after byte
* format code (syslog + err)
* move functions in utils.c
This commit is contained in:
prx 2021-01-14 13:31:51 +01:00
commit 470e47a018
10 changed files with 268 additions and 67 deletions

View file

@ -55,7 +55,7 @@ without a `-d` parameter.
- `-u username`: enable chroot to the data directory and drop privileges to `username`.
- `-m MIME` : use MIME as default instead of "application/octet-stream".
- `-i` : Enable auto index if no "index.gmi" file is found in a directory.
- `-c CGI_PATH` : Exec CGI_PATH instead of serving it.
# How to configure Vger using relayd and inetd