Skip to content

This project is about creating your own web server, written in C++, that is capable of running an HTTP server, handling requests, and parsing configuration files.

Notifications You must be signed in to change notification settings

bdekonin/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserv

CodeFactor

This project is about creating your own web server, written in C++, that is capable of running an HTTP server, handling requests, and parsing configuration files.

Collabaration

This project has been created in collaboration between @rkieboom and @lskywalker. We worked together to create a project that met our specific goals and requirements. Through communication and collaboration, we were able to create a project that we are both proud of. We hope that you find this project useful and enjoy the results of our hard work. Thank you for taking the time to view our collaboration.

Prerequisites

  • C++ Compiler
  • Basic Knowledge of the HTTP Protocol
  • Knowledge of Networking

Features

  • Ability to run an HTTP server
  • Ability to handle requests
  • Ability to parse configuration files

Installation

  1. Download the project files.
  2. Compile the project using your C++ compiler.
  3. Run the executable.

Usage

  1. Configure the server by editing the configuration files.
  2. Start the server.
  3. Use your web browser to access the server.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Resources

Nginx server blocks

Binding to host and ports

HTTP tutorial 1

HTTP tutorial 2

Select()

CPP class for every http code

carriage return line feed (CRLF)

Mandatory response headers

Nginx way of handling requests

Rfc explanation about http codes

CGI tutorial/explanation

CGI post vs get

CGI environtment variables

About

This project is about creating your own web server, written in C++, that is capable of running an HTTP server, handling requests, and parsing configuration files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published