This is when you finally understand why a URL starts with HTTP.
This project is about writing your own 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.
As we choose to use epoll, our webserv requires a linux OS to work, so you can use docker or run this project locally if you have linux
- Docker
- Any linux port, we used ubuntu:latest docker image
Clone this repository:
$ git clone https://github.com/AlienRecall/webserv.git
$ cd webservBuild and start webserv using docker:
$ docker build -t webserv . && docker run -d --name webserv -p 8080 webserv && docker exec -it webserv /bin/bashSee logs via docker:
$ docker logs webserv -fRun locally using make:
$ make