Objective: In this project, we will study how to write socket programming. In addition, we also study a real world protocol of HTTP.
Task: Develop a multi-threaded web server. You can develop your code in two stages. In the first stage, you simply displays the contents of the HTTP request messages that your web server receive. After this is running properly, you will add the code to generate an appropriate response. The web server needs a log file to record statistics of the client requests. Each request corresponds to one line in the log. Write down client hostname/IP address, access time, requested file name and response type. Your web-server also needs to handle some simple errors, such as web-page not found. You may run the server on your own computer, using the IP address of 127.0.0.1. Define your own port number (don't use 80). A single thread web-server will get partial mark.
You can use either Java or C/C++. Your code should be commented appropriately. Include a READMET text file of how to compile and run your program.
I would expect to see your server to handle the following ONLY (marks will be deducted if you have more):
1. two request methods, GET, HEAD
2. three respond types, 200 OK, 400 Bad Request, 404 File Not Found
3. handle Last-Modified field and If-Modified-Since header
Hello Sir
I have already developed proxy server in java so I need to make some changes in proxy server code to make it web server
Please check my past project related to proxy server
Please initiate chat for more info
we will decide final price later
Thank You :)