Installing and Configuring Apache
In this second of three installation-related chapters, you will install the Apache web server and familiarize yourself with its main components, including log and configuration files.
In this chapter, you will learn
- How to install the Apache server
- How to make configuration changes to Apache
- Where Apache log and configuration files are stored
Current and Future Versions of Apache
The installation instructions in this chapter refer to Apache HTTPD server version 2.0.58, which is the current production version of the software. The Apache Software Foundation uses minor release numbers for updates containing security enhancements or bug fixes. Minor releases do not follow a set release schedule; when enhancements or fixes are added to the code and thoroughly tested, the Apache Software Foundation releases a new version with a new minor version number.
It is possible that by the time you purchase this book, the minor version number will have changed, to 2.0.59 or beyond. If that is the case, you should read the list of changes, which is linked from the download area at http://httpd.apache.org/download.cgi, for any changes regarding the installation or configuration process, which makes up the bulk of this chapter.
Although it is unlikely that any installation instructions will change between minor version updates, you should get in the habit of always checking the changelog of software that you install and maintain. If a minor version change does occur during the time you are reading this book, but no installation changes are noted in the changelog, simply make a mental note and substitute the new version number wherever it appears in the installation instructions and accompanying figures.