From c2d8dac88569627edc8681ec15a9e8182a5508f7 Mon Sep 17 00:00:00 2001 From: rafael Date: Mon, 25 Mar 2024 12:00:52 +0100 Subject: [PATCH 1/2] 13167 delete autoindex and add prod to apache config --- extras/deploy-scripts/pandora_deploy_community.sh | 3 ++- extras/deploy-scripts/pandora_deploy_community_el8.sh | 3 ++- extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/extras/deploy-scripts/pandora_deploy_community.sh b/extras/deploy-scripts/pandora_deploy_community.sh index 44be2d8fb9..281fa42590 100644 --- a/extras/deploy-scripts/pandora_deploy_community.sh +++ b/extras/deploy-scripts/pandora_deploy_community.sh @@ -521,8 +521,9 @@ include (\$ownDir . "config_process.php"); EO_CONFIG_F cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F +ServerTokens Prod - Options Indexes FollowSymLinks + Options FollowSymLinks AllowOverride All Require all granted diff --git a/extras/deploy-scripts/pandora_deploy_community_el8.sh b/extras/deploy-scripts/pandora_deploy_community_el8.sh index c37b5df13c..f5d7c81614 100644 --- a/extras/deploy-scripts/pandora_deploy_community_el8.sh +++ b/extras/deploy-scripts/pandora_deploy_community_el8.sh @@ -632,8 +632,9 @@ include (\$ownDir . "config_process.php"); EO_CONFIG_F cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F +ServerTokens Prod - Options Indexes FollowSymLinks + Options FollowSymLinks AllowOverride All Require all granted diff --git a/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh b/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh index 8e1ba6ae63..6d0bb69d06 100644 --- a/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh +++ b/extras/deploy-scripts/pandora_deploy_community_ubuntu_2204.sh @@ -640,8 +640,9 @@ EO_CONFIG_F #Enable allow Override cat > /etc/apache2/conf-enabled/pandora_security.conf << EO_CONFIG_F +ServerTokens Prod - Options Indexes FollowSymLinks + Options FollowSymLinks AllowOverride All Require all granted From e28634acca1cf8d6d2ed8ed5ffcb0b34a6d4a6ce Mon Sep 17 00:00:00 2001 From: rafael Date: Mon, 25 Mar 2024 12:02:54 +0100 Subject: [PATCH 2/2] 13167 add changes to el9 too --- extras/deploy-scripts/pandora_deploy_community_el9.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/deploy-scripts/pandora_deploy_community_el9.sh b/extras/deploy-scripts/pandora_deploy_community_el9.sh index 176c1bbea8..70b473b49b 100644 --- a/extras/deploy-scripts/pandora_deploy_community_el9.sh +++ b/extras/deploy-scripts/pandora_deploy_community_el9.sh @@ -578,8 +578,9 @@ include (\$ownDir . "config_process.php"); EO_CONFIG_F cat > /etc/httpd/conf.d/pandora.conf << EO_CONFIG_F +ServerTokens Prod - Options Indexes FollowSymLinks + Options FollowSymLinks AllowOverride All Require all granted