Skip to content

This project is about writing your ow HTTP server. You will be able to test it with an actual browser. HTTP is one of the most used protocols on the internet. Knowing its arcane will be useful, even if you won’t be working on a website

Notifications You must be signed in to change notification settings

mouaammou/WEBSERVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserv

Webserv is a fully functional HTTP/1.1 web server implemented in C++ as part of the 42 Network curriculum. It is designed to handle multiple client requests efficiently while supporting static files, CGI scripts, and customizable configurations.


Features

  • HTTP/1.1 Support: Handles GET, POST, and DELETE requests according to the HTTP/1.1 standard.
  • Static File Serving: Serve HTML, CSS, JavaScript, images, and other static content.
  • CGI Support: Execute CGI scripts for dynamic content generation.
  • Multiple Clients: Supports concurrent connections using poll() for efficient I/O multiplexing.
  • Customizable Configuration: Configure server ports, root directories, index files, and error pages.
  • Error Handling: Properly handles standard HTTP errors like 404 (Not Found), 500 (Internal Server Error), etc.
  • Request Parsing: Fully parses HTTP requests including headers, query strings, and body content.
  • Robust and Secure: Validates requests and prevents common server-side issues.

Installation

Clone the repository:

git clone https://github.com/mouaammou/WEBSERVE.git
cd WEBSERVE

About

This project is about writing your ow HTTP server. You will be able to test it with an actual browser. HTTP is one of the most used protocols on the internet. Knowing its arcane will be useful, even if you won’t be working on a website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •