Skip to content

About

http server in c++ 98 from scartch

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

246 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserv : http server in c++ 98 from scratch

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

Workflow Diagram

How to Use This Program

Getting Started

  1. Clone the repository:

    git clone https://github.com/anas-mejdoub/42-webserv.git 42-webserv
    cd 42-webserv
  2. Build and run the program using Docker Compose:

    make
    • This command will start the application on port 80.
    • Wait for the process to complete.
  3. Access the program:

    • Open your browser and go to http://localhost:80.
  4. Check the logs:

    make logs

Customization

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.

Stopping and Cleaning Up

  • Stop the running Docker containers:

    make stop
  • Remove the Docker images:

    make rmi
  • Remove object files from the program:

    make fclean

Documentation

  • Socket Documentation: Located inside the server folder.
  • HTTP Documentation: Found inside the request and response folders.

For more details, check the relevant documentation files in the repository.

About

http server in c++ 98 from scartch

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages