Skip to content

simple http web server written in c++, which can serve static web pages.

Notifications You must be signed in to change notification settings

yogeeswar2001/HTTP-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP web server

This is an HTTP server which is able to serve static web pages.

How to run the server

Run the following commands from the terminal to run the server
  cd target
  ./server

How to recompile the server

Move to the cloned directory and run the following commands from the terminal to recompile
  make clean
  make

Note

  • Files which need to be served should be placed inside the directory named file.
  • Default port number is : 8080
  • To change the port number pass --port followed by the port number as command line arguments while excuting the file. Example:
  ./server --port 8989

About

simple http web server written in c++, which can serve static web pages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published