Compile
make
chmod +x tiny
chmod +x cgi-bin/adder
Run server
./tiny 8000
Open the browser
static page http://localhost:8000
dynamic page http://localhost:8000/cgi-bin/adder?1&2
More information at 《用C语言制作Web服务器》.
A tiny web server developed by O'Hallaron using C.
Compile
make
chmod +x tiny
chmod +x cgi-bin/adder
Run server
./tiny 8000
Open the browser
static page http://localhost:8000
dynamic page http://localhost:8000/cgi-bin/adder?1&2
More information at 《用C语言制作Web服务器》.
A tiny web server developed by O'Hallaron using C.