Added handler to add support for CGI scripts.

Added a new tool `httpd` which is a basic httpd server product (with file server and CGI handler).
This commit is contained in:
Jocelyn Fiat
2017-11-03 18:00:39 +01:00
parent 95cebe26bb
commit 211fc425a3
8 changed files with 442 additions and 1 deletions

12
tools/httpd/README.md Normal file
View File

@@ -0,0 +1,12 @@
Simple web server
=================
This server is very simple and limited, it is, for now:
- a file server
- a CGI handler (for `*.cgi` executables)
Usage:
httpd (--root path)
--root <path>: document directory for file server (default: www)