CNT4713 Extra Credit 4 - Web Server

Due Sunday 10/16

Worth 1 point

Write a web server that implements a conditional GET, using the If-modified-since header.

The web server is a stand-alone server, not a cgi script. Place it in the cgi-bin so I know where it is, but you will not be able to run it from the web. To test your server, start it from the command line, then call it from a browser.

Request a port for your web server, so we can minimize the chance of students using the same port.

You will access your server with a URL like http://ocelot.aul.fiu.edu:9999/some-file, replacing 9999 with the port number you request and some-file with the name of the file the server has.

Modify index.html

I want to be able to run your scripts on ocelot, without having to type the name of each script in the URL.

Submitting the Assignment

To hand in the assignment, place all your scripts in the cgi-bin folder on ocelot. Zip the public_html folder, including the cgi-bin folder. DO NOT USE 7-ZIP or RAR!!!