Explain the use of “directives” in configuration files. Provide an example of two directives found in an Apache configuration file and detail what each accomplishes. Solution The configuration files contain directives that can be applied to the entire server, or they may be restricted to apply only to particular directories, files, hosts, or URLs. HTTP Server of Apache is configured by putting or placing directives in plain text configuration files. Configuration file httpd.conf is called main configuration file. During compile time its location is set, but command line flag -f is used if it\'s need to be overridden ever.Directive \"Include\" is used to add other configuration files ,likewise wildcards can also be used to add many configuration files.Any of these configuration files can be used to place any of the directives,httpd is used to recognised if any of the changes is made in main configuration file when it is started or restarted. The <If Define>directive encloses directives that will only be applied if an appropriate parameter is defined on the httpdcommand line. The < IfModule>directive is very similar, except it encloses directives that will only be applied if a particular module is available in the server. The module must either be statically compiled in the server, or it must be dynamically compiled and its LoadModule line must be earlier in the configuration file. This directive should only be used if you need your configuration file to work whether or not certain modules are installed. It should not be used to enclose directives that you want to work all the time, because it can suppress useful error messages about missing modules. .