httpd Options
In previous versions of Apache, there was no convenient way to
determine what modules were loaded. The -l
option to
the httpd binary (httpd -l
) listed all of the
statically compiled modules, but omitted those that were loaded
dynamically.
2.2 now has the -M
argument, which lists all
modules, both statically and dynamically loaded:
/www> sudo ./bin/httpd -M Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authn_file_module (shared) authn_default_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_owner_module (shared) authz_default_module (shared) auth_basic_module (shared) cache_module (shared) ... ... alias_module (shared) rewrite_module (shared) php5_module (shared) authn_alias_module (shared) Syntax OK
This information is loaded out of the configuration file, rather than determined from the currently running httpd process. That means that if the configuration file has changed since the server was started, this may not reflect the configuration that your web server is actually running with.
Get What's New in Apache Web Server 2.2? now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.