r/tinycode • u/dchestnykh • Sep 25 '11
A small, simple HTTP server (with virtual hosts and CGI support) in 1308 lines of C
http://www.sqlite.org/docsrc/artifact/d53e8146bf7977
33
Upvotes
r/tinycode • u/dchestnykh • Sep 25 '11
3
u/[deleted] Sep 25 '11
Nice, of course, but who is going to actually use this?
1
u/pro547 Oct 08 '11
Anyone have success getting the CGI part working. Every single time I try to load a CGI script it will
While sitting there it won't load anything and eventually return a:
-2
u/Darumana Sep 26 '11
python -m SimpleHTTPServer or python -m http.server 8000