Skip to Content
Learning RHEL Networking
book

Learning RHEL Networking

by Andrew Mallett
June 2015
Intermediate to advanced
216 pages
4h 48m
English
Packt Publishing
Content preview from Learning RHEL Networking

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781785287831