Ovoda: network/sockets manager, CGI
Agogibus: request and config file parser
bvalette: HTTP methods, responses manager
This is a Écle 42's project. This project implements a simple web server based on HTTP/1.1 protocol. It implements Get, Post and Delete methods. So it can serve static web pages, dynamic pages thanks to customizable CGI (PHP, python...). It is fully configurable though a config file, inspired by Nginx format.
$> git clone git@github.com:42f/WEBSERV.git
$> cd WEBSERV
To use launch webserv with the default configuration file and setup minimanl demo files in /tmp
:
$> make && ./assets/setup_files.sh && ./webserv
This will serve a demo page on http://localhost:18000