In this recipe, you will learn how to install and configure Apache HTTPD. We will first download the software and then install it to the source. If you want, you can choose to obtain the Apache HTTP Server by using a package manager such as YUM
, but I think understanding and learning how to build it from source is much more interesting.
We will be using Apache HTTPD Version 2.2.29 because the 2.2.x version is one of the most used versions in the production environment to run with mod_cluster
. It already comes with the APR and APR-Util lib, along with the PCRE.
To download the Apache HTTP Server, visit http://httpd.apache.org/download.cgi. When you first visit this site, you can choose between two stable versions: 2.2 and 2.4. Obviously, version 2.4 is newer and it has some new features. It also has a different syntax for its configuration files.
On the other hand, version 2.2 has been around for a long time and it might be more stable. Nonetheless...