/Webserv

This project is about writing an HTTP server.

Primary LanguageHTML

C++98 HTTP Web Server

This is a simple HTTP web server implemented in C++98. It is designed to be lightweight and easy to use.

Features

  • Supports HTTP 1.1
  • Handles GET, POST, and DELETE requests
  • Supports CGI scripts
  • Supports cookies and sessions

Building

To build the web server, you will need a C++98 compiler. Once you have it installed, run the following command to build the web server:

make

Running

To start the web server, run the following command:

make run

But you should change in configurations before running it.

Configuration

The web server can be configured by editing the config file. This file contains a number of contexts that control the behavior of the web server.