COP 4225 Advanced Unix Programming
Project 1

 

Tentative Description 

    The web server of  JCCL (ocelot.aul.fiu.edu) is running an Apache web server. Currently there are two versions of Apache web server available: 1.3 and 2.0. The executable file (httpd) for the Apache server runs as a daemon process in the background. The starting method of the daemon can be found here and the command line syntax for httpd can be found here. The executable server httpd reads a configuration file httpd.conf to regulate its run-time behavior.

   When a web server starts, it listens to a TCP port. The default port number is 80, which is well known. If a  web client (e.g. Internet Explorer) needs to talk to a port number other than 80, the URL should be http://***.****.***:port_number. At the server side,  a non-default port number can be specified by the configuration file httpd.conf (see the description of the  Listen directive in the httpd.conf ). The daemon process listens to this port. Whenever, a new HTTP request comes in, the daemon process forks a child process to handle the request.  

    In this project, you are required to identify the web server process, its process ID, the server version, and the exact location and the size of  the executable file in the file system. Write a detailed report to show your steps, explain the logic behind your steps, and justify your answers. Also, report any interesting findings along the way to your final conclusion.

    You are not allowed to use priviliged user accounts, and your answer should not be based on any prior-knowledge of our system.

Hints

Submission