Simple CGI server
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
webserver
CMakeLists.txt
README.md
http1_1.cpp
http1_1.h
main.cpp
main.h
parse.cpp
parse.h
server.cpp
server.h
wrappers.cpp
wrappers.h

README.md

CGI-server

Using

Build
cmake CMakeLists.txt
make

To use the demo content requires php:

sudo apt-get install php5-cli
Run
./CGIServer port document_root cgi_root
  • binding port (40000 by default).
  • document_root – directory with a site (webserver/site/ by default).
  • cgi_root – directory with cgi.py and error files (webserver/ by default).