/42-Webserv

a C++98 compatible HTTP/1.1 web server project. It involves building a server capable of handling HTTP requests, serving static files, and executing CGI programs

Primary LanguageC++

Webserv - 42 Project

Description

The Webserv project challenges you to build a web server from scratch. Key features include handling HTTP requests (GET, POST, DELETE), serving static files, and executing CGI programs. Dive into the intricacies of web servers and enhance your understanding of HTTP!

Technologies Used

  • C++98: Implement server logic.
  • HTTP Protocol: Understand HTTP/1.1 standard.
  • Server Setup: Build a simple HTTP server.
  • CGI: Execute external programs for dynamic content.
  • Select and Non-blocking I/O: Handle multiple client connections concurrently.

Getting Started

  1. Clone the Repository: Start by cloning this repository.
  2. Compile and Run: Compile your C++ code and run the web server.
  3. Test with a Real Browser or Postman: Use a real browser or Postman to test your server.
  4. Explore HTTP Features: Experiment with different methods and headers.
  5. Learn from the RFCs: Refer to HTTP RFCs for in-depth knowledge.