ABSTRACT

This chapter examines the Apache web server. It describes how to install the server, including the layout of the files. Two forms of installation are available. One can install an executable version of Apache, or one can install it from source code. The executable installation can be performed via the Add/Remove Software graphical user interface (GUI) in Red Hat or Debian or the Ubuntu Software Center. In order to install Apache from source code, one must download the source code files. The Apache installation relies on two libraries. These are the Apache Portable Runtime (APR) library and the APR utilities (APR-util). To control Apache, use the Apache control program, apachectl. This program is located in the system administration executable directory, as specified during configuration. The Apache web server is configured through a series of configuration files. The main configuration file is called httpd.conf in Red Hat versions and apache2.conf in Debian.