/Web-Server-Using-C

A web server that can serve html, php and css along with GET & POST requests made from scratch using C

Primary LanguageC

Web-Server-Using-C

Instructions:

To execute t=and start the program compile the server.c file and run the a.out
It will start a server at localhost:2728
You can access the website by entering localhost:2728 in the browser
The webpages that should be served should be inside the 'htdocs' folder. 
index.php or index.html file should be inside htdocs folder to serve when localhost:2728 is requested
NOTE: Currently web server is only works and responds to GET requests for html,php and css and POST requests