This project is here to help you write your own HTTP server. You will be able to test it with a real browser. HTTP is one of the most widely used protocols on the internet. Understanding its intricacies will be useful, even if you won't be working on a website.
Web servers follow a client-server model. In this structure, one program, also known as the client, requests a resource or service from another program, the server.
When a web user wants to load the content of a website, their web browser sends an HTTP request to the web server, which then responds with an HTTP response.
Build the project using: make
Run the program using: ./Webserv [your config file]
or ./Webserv
to use the default config file.
To configure the server, you will need to modify config.conf
, which is located in the /conf
directory, or create a new config file and pass it as an argument.
This server is compatible with Chrome only!