HTTP web server written in C/C++98. Can serve fully static websites. Pass .config as argument or it will take default webserv.conf. Supports multiple server blocks and location blocks with different server_names and ports.
cgi-bin (eg: .py, .sh) auto-index error_page client-max-body-size allowed_methods (GET, POST, DELETE) redirection to location redirection to URL and more . . . .
Simply copy commands
git clone https://github.com/poechlauerbe/webserv.git
cd webserv
make
./webserv webserv.confC/C++, HTML, CSS, JAVASCRIPT, NGINX, PYTHON etc.
Feel free to use and distribute.
curl -F "[email protected]" http://localhost:8000/
lsof -t -i :PORT
siege -c 256 -r 1000 http://localhost:8000