6.1 必須パッケージとモジュールの導入
apt -y install apache2 apache2-utils libapache2-mod-fcgid apache2-suexec-custom libapache2-mod-python
a2enmod rewrite ssl actions include alias proxy_fcgi headers suexec dav_fs dav auth_digest
6.2 suexec-custom の規律修正
ISPConfig 独自のパス運用を許可するための絶対規律。
ファイル:/etc/apache2/suexec/www-data
/var/www
public_html/cgi-bin
6.3 サーバーバナーの秘匿(セキュリティ規律)
/etc/apache2/conf-enabled/security.conf を編集し、余計な情報を漏洩させない。
ServerTokens Prod
ServerSignature Off