O'Reilly logo

Learning RHEL Networking by Andrew Mallett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Loading modules

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 LoadModule directives.

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 82:

$ sudo httpd -M | wc -l

With the original output, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required