A very simple web server written in C.
This is a simple C Web Server. The program will serve pages that are placed in the WebContent directory.
For Debian based systems, make sure that you have the Debian
build-essentials
package installed. If you want to also build
Doxygen documentation, install the doxygen
package.
The system can be compiled by typing
make
in the root directory. This will produce an executable called webserver.
If you have Doxygen installed, you can type
make all
to build everything -- including the documentation files.
After building the program, it can be executed by typing
./webserver
at the command line. The basic usage is as follows.
usage: webserver ipaddress [port]
By default the webserver runs with ip-address 127.0.0.1 and 1024.
Files are served from the WebContent
directory.
The project is licensed under the terms of the GPL3 license.