A minimal, C-based HTTP server.
My goal is to keep it simple and only handle GET requests. I'm building it to practice C and teach myself more about low level networking.
Usage: ./mhttpd [--help] [port] Serve a directory over HTTP --help Show this help text. port Port number. Default: 80 (requires privileges) Example: ./mhttpd 3000
Right now, it just serves up "public/index.html" in response to any request.
After you have the source (e.g., from downloading a tarball via GitHub), just do the standard steps:
Currently, there is no "make install" task, but you can mv the resulting "mhttpd" executable anywhere you'd like.