こちらと同じことを今のバージョンで行いました。
ssi有効化
確認した Apache2 のバージョン
$ apache2ctl -v
Server version: Apache/2.4.41 (Ubuntu)
Server built: 2020-04-13T17:19:17
モジュールのロード
sudo a2enmod include
設定ファイル
<Directory /var/www/html/public_test>
Options +Includes +FollowSymLinks
AllowOverride none
Require all granted
AddType text/html .html
AddOutputFilter INCLUDES .html
</Directory>
設定が正しいかの確認
sudo apache2ctl configtest
Apache2 の再起動
sudo systemctl restart apache2
テストに使った html ファイル
aaa.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" />
<title>ssi aaa
</title>
</head>
<body>
<p />
<h2>ssi のテスト</h2>
<!--#echo var="DATE_LOCAL" --><p />
<p />
Jul/28/2020 AM 06:00<br />
</body>
</html>