LIS 525 - Apache

The Apache project aims to develop and maintain a secure, efficient, and extensible open-source HTTP server for various server operating systems, such as UNIX and Windows. Apache (A PAtCHy server) was based on some existing code and a series of "patch" files.

Some Major Features of Apache



Running Apache

In Windows, Apache can be run either as a "service", in which case it starts running when the machine boots and stays running even when no one is logged in, or as a console application.

On Unix, the httpd program is run as a "daemon" which executes continuously in the background to handle requests. When httpd starts up, it reads the configuration file httpd.conf, the location of which either was set at installation or may be specified with a command line option. To start Apache automatically when the computer boots up, a call to httpd can be included in the system startup files.

Each line in the configuration file contains a directive; for example, the following directive adds a MIME type:

    AddType image/gif .gif

While Apache is running, the administrator can make changes or get status reports with the apachectl script. For example, the following command can be used to get Apache to recheck the configuration file without terminating existing connections:

    apachectl graceful

For More Information


Last updated October 31, 2007.
This page maintained by Prof. Tim Craven
E-mail (text/plain only):
Faculty of Information and Media Studies
University of Western Ontario,
London, Ontario
Canada, N6A 5B7