In this tutorial we are going to discuss about the commands for checking the loaded and enables modules of Apache httpd server.
Ads
In this tutorial we are going to discuss about the commands for checking the loaded and enables modules of Apache httpd server.
In this article we are going to discuss about the Linux commands for finding or checking the currently enabled/loaded modules in Apache httpd server.
Apache httpd server is one of the most used, very robust server in the world. This server is used primarily for serving the static content but it can be configured other software modules/severs for generating and serving dynamic content.
Apache httpd server is highly configurable serve and it supports modules which can be configured as per your requirements.
Most used modules of Apache Server are:
How to check enabled/loaded modules of Apache?
The apachectl command of Apache server can be used to view the status of the Apache modules on the live server. You can login to your Linux box and after that with the help of this command you can find the modules status in Apache.
You can use following command to see the enabled/loaded modules of Apache:
apache2ctl -M
or
httpd -M
Above command will display outputs which will look like :
root@deepak-VirtualBox:/home/deepak# apache2ctl -M AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) mime_module (shared) mpm_event_module (shared) negotiation_module (shared) setenvif_module (shared) status_module (shared) root@deepak-VirtualBox:/home/deepak#
You can also try httpd -M or apachectl -M if you are running other versions of Apache Server.
So, with the help of apache2ctl -M command you can easily check enabled modules on Apache Server.
Check more tutorials at devmanuals.net.
Ads