Re: ./confgure syntax to create static binary and eliminate "Shared" modules?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sure.
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 --with-mysqlalias
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/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule filter_module modules/mod_filter.so
LoadModule env_module modules/mod_env.so
LoadModule version_module modules/mod_version.so
LoadModule status_module modules/mod_status.so
Ed
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]