Skip to content

This project is here to make you write your own HTTP server. You will be able to test it with a real browser. HTTP is one of the most used protocol on internet. Knowing its arcane will be useful, even if you won't be working on a website.

Notifications You must be signed in to change notification settings

maminparen/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webserv_42

Info

This is when you finally understand why a URL starts with HTTP

Screen Shot 2021-11-20 at 9 54 09 PM

How to use

  • need cgi-php ang cgi-py for cottect work
  • ./webserv - use default config
  • ./webserv ./congig/mac_tester.config - use tester

Diagramm in PDF

top-level project diagramm - written at the start project (was corrected during project)

Site

  • http://localhost:8000
  • py and php use execve() and check error;
  • return redirect to goole;
  • cookies and session work with php browser;
  • upload work with POS;
  • for test DELETE need to write "DELETE ..." from http://localhost/test_del;

Documentation

About

This project is here to make you write your own HTTP server. You will be able to test it with a real browser. HTTP is one of the most used protocol on internet. Knowing its arcane will be useful, even if you won't be working on a website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published