Welcome to Webserv, an HTTP server project where we've implemented our very own HTTP server. This server is capable of serving static websites, handling HTTP methods, supporting file uploads, and more. Understanding the intricacies of the HTTP protocol is essential, even if you're not planning to become a web developer.
This project was developed as part of our curriculum, and it involves creating an HTTP server from the ground up. It includes both mandatory and bonus parts, allowing us to gain a deep understanding of how web servers work.
- Create a non-blocking HTTP server.
- Support various HTTP methods, including GET, POST, and DELETE.
- Serve static websites and handle file uploads.
- Read and interpret a configuration file for server settings.
- Handle multiple clients efficiently.
- Additional bonus features like supporting cookies and multiple CGI scripts.
For detailed information about the project requirements, configuration, and usage, please refer to the project subject.
Provide detailed instructions on how to build, configure, and run the Webserv project. Include any necessary commands, flags, or scripts to make it easy for others to test and use your HTTP server.
# Example usage commands
./webserv default.conf