202310020258.1.mp4
└── WebServ/
├── Makefile
├── README.md
├── classes/
│ ├── FileReader/
│ │ └── FileReader.cpp
│ ├── HttpServer/
│ │ └── HttpServer.cpp
│ ├── LibHelp/
│ │ └── LibHelp.cpp
│ ├── Location/
│ │ └── Location.cpp
│ ├── Logs/
│ │ └── logs.cpp
│ ├── Page/
│ │ └── Page.cpp
│ ├── Parser/
│ │ ├── Cgi.cpp
│ │ ├── Delete.cpp
│ │ ├── Get.cpp
│ │ ├── Methods.cpp
│ │ ├── Parser.cpp
│ │ ├── Post.cpp
│ │ └── setters.cpp
│ └── Stream/
│ ├── Client.cpp
│ ├── Server.cpp
│ └── Stream.cpp
├── config/
│ └── config.cfg
├── includes/
│ ├── FileReader/
│ │ └── FileReader.hpp
│ ├── HttpServer/
│ │ └── HttpServer.hpp
│ ├── LibHelp/
│ │ └── LibHelp.hpp
│ ├── Location/
│ │ └── Location.hpp
│ ├── Page/
│ │ └── Page.hpp
│ ├── Parser/
│ │ ├── Cgi.hpp
│ │ ├── Delete.hpp
│ │ ├── Get.hpp
│ │ ├── Methods.hpp
│ │ ├── Parser.hpp
│ │ └── Post.hpp
│ ├── Stream/
│ │ ├── Client.hpp
│ │ ├── Server.hpp
│ │ └── Stream.hpp
│ └── main.hpp
├── main.cpp
├── mimtype.txt
└── var/
├── downloads/
│ └── file.jpg
└── www/
├── 403.html
├── 404.html
├── TestCGI/
│ ├── display.php
│ ├── form.html
│ ├── form.py
│ └── index.html
├── cgi_tester
├── cookieSite/
│ ├── cookie.php
│ ├── form.html
│ ├── index.php
│ └── save.php
├── dieri/
│ ├── dieriba.html
│ └── style.css
├── index.html
├── index.php
├── index1.html
├── site1/
│ ├── display.py
│ ├── index.html
│ ├── index.php
│ ├── request.php
│ └── test.php
└── site2/
├── index.html
└── upload.php
- Clone the WebServ repository:
git clone https://github.com/mousliiim/WebServ WebServ
- Change to the project directory:
cd WebServ
- Do make:
Make all
./webserv [configfile] ( Exemple : ./webserv config/config.cfg )
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branch
orbugfix-issue-123
).
git checkout -b new-feature-branch
- Make changes to the project's codebase.
- Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
- Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.