Thanks to visit codestin.com
Credit goes to github.com

Skip to content

poechlauerbe/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserv

HTTP web server written in C/C++98. Can serve fully static websites. Pass .config as argument or it will take default webserv.conf. Supports multiple server blocks and location blocks with different server_names and ports.

Supports

cgi-bin (eg: .py, .sh) auto-index error_page client-max-body-size allowed_methods (GET, POST, DELETE) redirection to location redirection to URL and more . . . .

How to run ?

Simply copy commands

  git clone https://github.com/poechlauerbe/webserv.git
  cd webserv
  make
  ./webserv webserv.conf

Contributors

Screenshots

webservHome

🛠 Skills Achieved

C/C++, HTML, CSS, JAVASCRIPT, NGINX, PYTHON etc.

License

Feel free to use and distribute.

MIT License

Test Cases

To test post with curl

curl -F "[email protected]" http://localhost:8000/

To check a port process

lsof -t -i :PORT

Siege Stress Test

siege -c 256 -r 1000 http://localhost:8000

About

Our own http 1.1 webserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •