From cf625a83ab6f7ed2e884d83922f1bb5a6b8a4b0a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Jul 2024 21:38:08 +0200 Subject: [PATCH] Add custom file --- etc/apache2/conf-available/custom-server-token.conf | 5 +++++ etc/apache2/conf-available/custom-server-tokent.conf | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 etc/apache2/conf-available/custom-server-token.conf delete mode 100644 etc/apache2/conf-available/custom-server-tokent.conf diff --git a/etc/apache2/conf-available/custom-server-token.conf b/etc/apache2/conf-available/custom-server-token.conf new file mode 100644 index 000000000..65b405abd --- /dev/null +++ b/etc/apache2/conf-available/custom-server-token.conf @@ -0,0 +1,5 @@ +# Show a generic Apache version. +# File can be enabled with: +# a2enconf custom-server-tokens +# systemctl reload apache2 +ServerTokens Prod \ No newline at end of file diff --git a/etc/apache2/conf-available/custom-server-tokent.conf b/etc/apache2/conf-available/custom-server-tokent.conf deleted file mode 100644 index 401df5ddd..000000000 --- a/etc/apache2/conf-available/custom-server-tokent.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Change the output showing the Apache version -ServerTokens Prod \ No newline at end of file