security(shared-httpd): remove cgid/lua/include/actions/dav/userdir + exec-surface build gate #59
@@ -33,22 +33,33 @@ MODDIR=${HTTPD_MODDIR:-/etc/httpd/conf.modules.d}
|
||||
SODIR=${HTTPD_SO_DIR:-/usr/lib64/httpd/modules}
|
||||
|
||||
# Positive control: modules the WHP platform relies on. Derived from
|
||||
# web-files/configs/shared-vhost-template.tpl (rewrite, proxy_fcgi via
|
||||
# SetHandler proxy:fcgi + ProxyFCGISetEnvIf, ssl, setenvif/env for the
|
||||
# healthcheck log filter, dir, authz_core, log_config, alias, mime, negotiation
|
||||
# for `Options MultiViews`), shared-httpd-security.conf (mime_module
|
||||
# RemoveOutputFilter, authz_core, core <If>/<DirectoryMatch>), the cac
|
||||
# entrypoint (remoteip, unixd, mpm_event, socache_shmcb for SSLSessionCache) and
|
||||
# the .htaccess features WordPress/cPanel imports use (headers, expires,
|
||||
# deflate, brotli, autoindex, auth_basic/authn_file/authz_user/authz_host,
|
||||
# access_compat, filter, version, reqtimeout, status for /ping-style probes).
|
||||
# web-files/configs/shared-vhost-template.tpl + panel/internal/vhost/httpdtpl
|
||||
# (rewrite, proxy_fcgi via SetHandler proxy:fcgi + ProxyFCGISetEnvIf, and for a
|
||||
# site with more than one FPM backend <Proxy balancer://> + BalancerMember +
|
||||
# `ProxySet lbmethod=byrequests`, which need proxy_balancer, lbmethod_byrequests
|
||||
# and slotmem_shm; ssl, dir, authz_core, log_config, mime, negotiation for
|
||||
# `Options MultiViews`), shared-httpd-default-vhost.conf (rewrite R=204 /ping,
|
||||
# setenvif for the healthcheck log filter), shared-httpd-security.conf
|
||||
# (mime_module RemoveOutputFilter, authz_core, core <If>/<DirectoryMatch>), the
|
||||
# image (alias for `Alias /ping`, remoteip, unixd, mpm_event, socache_shmcb for
|
||||
# SSLSessionCache) and the .htaccess features WordPress/cPanel imports use
|
||||
# (headers, expires, deflate, brotli, env, autoindex,
|
||||
# auth_basic/authn_file/authz_user/authz_host, access_compat, filter, version,
|
||||
# reqtimeout). A tenant .htaccess naming a directive of a module that is not
|
||||
# loaded answers 500, so every module here is load-bearing.
|
||||
#
|
||||
# The .so files removed below belong to the httpd-core RPM. A later `dnf update`
|
||||
# / `dnf reinstall` of httpd-core in a derived image or a later layer restores
|
||||
# them (and the deleted %config files 00-dav.conf / 01-cgi.conf): run `check`
|
||||
# after any package step that comes after `remove`.
|
||||
REQUIRED_MODULES='mpm_event_module unixd_module log_config_module logio_module
|
||||
authz_core_module authz_host_module authz_user_module authn_core_module authn_file_module
|
||||
auth_basic_module access_compat_module
|
||||
mime_module dir_module autoindex_module alias_module setenvif_module env_module
|
||||
negotiation_module rewrite_module headers_module expires_module deflate_module
|
||||
negotiation_module rewrite_module headers_module expires_module deflate_module brotli_module
|
||||
filter_module remoteip_module reqtimeout_module version_module socache_shmcb_module
|
||||
ssl_module proxy_module proxy_fcgi_module'
|
||||
ssl_module proxy_module proxy_fcgi_module
|
||||
proxy_balancer_module lbmethod_byrequests_module slotmem_shm_module'
|
||||
|
||||
cmd_remove() {
|
||||
local p m
|
||||
|
||||
Reference in new issue
Block a user