This program was developed by the Abdellah, Anas and Nourddin and covers multiple key aspects of network programming, including:
- HTTP request and response handling
- Multiplexed I/O operations
- File upload and deletion
- Support for various HTTP methods
-
Clone the repository:
git clone https://github.com/anas-mejdoub/42-webserv.git 42-webserv cd 42-webserv -
Build and run the program using Docker Compose:
make
- This command will start the application on port 80.
- Wait for the process to complete.
-
Access the program:
- Open your browser and go to
http://localhost:80.
- Open your browser and go to
-
Check the logs:
make logs
If you want to change the ports or serve your static website, you can modify the default.conf file and update the Docker service to serve the necessary ports.
-
Stop the running Docker containers:
make stop
-
Remove the Docker images:
make rmi
-
Remove object files from the program:
make fclean
- Socket Documentation: Located inside the
serverfolder. - HTTP Documentation: Found inside the
requestandresponsefolders.
For more details, check the relevant documentation files in the repository.
