I wrote a small minimalistic HTTP server in C - I call it 'eldritchd' .
Update: Eldritch now delivers http://ubeer.org
The code for the server can be found on GitHub
Why yet another HTTP server?
I write it to learn - basically to learn about the BSD socket api
, the Posix API
, dealing with it in C
. Up till now I mostly used tools & frameworks for accomplishing this, be it the ACE library for C++, Apache & WGSI in Python
or Apache CGI in Perl.
How does it work?
Read the readme.md on GitHub
. If it does not contain an appropriate description, it will.
Wanna see Eldritch in action?
Just visit http://ubeer.org
- Ok, its very limited but - it works :) I set up a dedicated test page underneath http://ubeer.org/eldritch.html
to demonstrate some very basic stuff like delivering ASCII text and images.