A simple CGI webserver written in C with no dependencies.
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.
pages Stuff. Dec 12, 2010
.gitignore Cleanup, magic Feb 12, 2015
Makefile
README.md
cgiserver.c Reject .. in paths Apr 29, 2018

README.md

A Simple CGI Server

This is a small CGI server written in C. It has no dependencies outside of the provided files, assuming a POSIX-compatible operating environment.

By default, the server will try to run on port 80. You can supply a different port number as an argument, or edit the source to change the default port.

The server will serve files out of the pages directory, but you can change this as well by editing the source.