An open API service indexing awesome lists of open source software.

https://github.com/n0ring/webserv

This project is about writing HTTP server using C++ (std=c++98)
https://github.com/n0ring/webserv

cpp98 http

Last synced: 2 months ago
JSON representation

This project is about writing HTTP server using C++ (std=c++98)

Awesome Lists containing this project

README

          

This project is about writing HTTP server using C++ (std=c++98).

Multiplexing is provided by poll function.

It has GET, POST, and DELETE methods. Also server capable to execute CGI scripts in any language.

![Untitled (1)](https://user-images.githubusercontent.com/98221398/188321163-3e8a4490-95e3-41aa-a748-0651c49c3084.gif)

Program take a configuration file as argument or use a default path.

In config file posible to setup: 

For virtual hosts ->
port to listen |
max body size |
error pages

For locations ->
max body size |
error pages |
methods |
root |
index |
redirect code and URL |
autoindex |
cgi script |
cgi bin

conf