Red Hat has moved away from loading modules in the standard
httpd.conf file. In the previous release of Red Hat (version 6), the configuration file would have been littered with many
These modules are now loaded via the configuration files in
/etc/httpd/conf.modules.d/. In this way, the main configuration file is less cluttered and it's easier to drop additional configuration files as and when required.
To view the currently loaded modules from Command Prompt, use the following command:
$ sudo httpd -M
We can see that we have many modules loaded. We can pipe the output to the
wc command to count the lines. Using the RHEL 7.1 demonstration system, the output is
$ sudo httpd -M | wc -l
With the original output, ...