This is a small educational HTTP server written in pure C.
The included RunServer.exe was compiled for Windows x86-64 (AMD64). It should work on AMD Ryzen 5 5500 and other modern x86-64 processors from AMD and Intel. Recompile the project if you use another operating system or architecture.
Open a terminal in the project root directory.
Windows (MinGW):
mingw32-make -f MAKEFILE
gcc main.c object-files/extclib.o -o RunServer.exe -lws2_32Linux:
make -f MAKEFILE
gcc main.c object-files/extclib.o -o RunServerRun the included RunServer.exe or the executable you compiled yourself. Then open this address in your browser:
http://127.0.0.1/
The server uses port 80. On Linux, running a server on this port may require administrator privileges.