In this section, I'll give you an overview of the "httpd.conf" file located under the "conf" folder of your Apache installation. As you might have guessed, you control the configuration of your Web server by manipulating the entries in this file. While I'll refrain from commenting on the more complex features of this configuration file in this part of the tutorial, I will definitely cover the basic "parameters" with which you need to be familiar. Open this httpd.conf in a text editor and scroll down to view the following parameters or "Directives," as they are commonly referred to as in Apache-lingo.
Next, you'll notice a set of options for the different MPMs supported by your instance of Apache 2.0 version. Here, I'll recommend that you tweak with the "Directives" associated with the MPM that you have chosen to work with. The following "Directives" follow:
This is followed by the section where you can list DSO modules that you wish to load when the server starts. For example, if we wish to load the PHP5 module when the server starts, the following "LoadModule" entry is a must:
The next two sections of the "httpd.conf" file deal with "main" server configuration and the "VirtualHosts" configured on your instance of Apache. For the moment, I shall avoid getting into specifics of these directives in today's article because of space constraints. But, I promise that I'll explain these in future tutorials of this Apache series.
blog comments powered by Disqus |