httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edflecko ." <>
Subject Re: [users@httpd] ./confgure syntax to create static binary and eliminate "Shared" modules?
Date Thu, 13 Feb 2020 18:04:25 GMT

This command: ./configure --disable-alias --disable-authn_file
--disable-authn_core --disable-authz_host --disable-autoindex
--disable-authz_groupfile --disable-authz_user --disable-authz_core
--disable-access_compat --disable-auth_basic --disable-reqtimeout
--disable-filter --disable-env --disable-headers --disable-log_config
--disable-setenvif --disable-version --disable-status --disable-autoindex
--disable-dif --enable-so --enable-ssl --enable-ssl-staticlib-deps
--enable-mods-static="alias authz_host autoindex deflate dir expires
headers log_config log_debug log_forensic mime negotiation rewrite setenvif
ssl unixd" --with-ssl=/etc/ssl --with-included-apr
--with-pcre=/usr/local/pcre/bin/pcre-config --with-expat=/usr/local/expat

Results in:

Loaded Modules:
 core_module (static)
 authz_host_module (static)
 so_module (static)
 deflate_module (static)
 http_module (static)
 mime_module (static)
 log_config_module (static)
 log_debug_module (static)
 log_forensic_module (static)
 expires_module (static)
 headers_module (static)
 setenvif_module (static)
 ssl_module (static)
 mpm_event_module (static)
 unixd_module (static)
 autoindex_module (static)
 negotiation_module (static)
 dir_module (static)
 alias_module (static)
 rewrite_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 env_module (shared)
 version_module (shared)
 status_module (shared)

Since my /configure command references some of the modules that ultimately
still end up being "Shared" within the httpd.conf file (for example,
authn_file, etc., etc.) , I'm puzzled why there are still so many shared
modules, but maybe someone can answer that?

The command:
grep -vxE '[[:blank:]]*([#;].*)?' /usr/local/apache2/conf/httpd.conf

Shows the following " LoadModule" entries

LoadModule authn_file_module modules/
LoadModule authn_core_module modules/
LoadModule authz_groupfile_module modules/
LoadModule authz_user_module modules/
LoadModule authz_core_module modules/
LoadModule access_compat_module modules/
LoadModule auth_basic_module modules/
LoadModule reqtimeout_module modules/
LoadModule filter_module modules/
LoadModule env_module modules/
LoadModule version_module modules/
LoadModule status_module modules/


View raw message