From 1ac892e1a9841f258cca648770feb106c74e8fec Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 16 Apr 2018 15:02:00 -0400 Subject: [PATCH] Fix the apache header configuration. --- xCAT/xcat.conf.apach24 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xCAT/xcat.conf.apach24 b/xCAT/xcat.conf.apach24 index 2a3570847..b4622a1a1 100644 --- a/xCAT/xcat.conf.apach24 +++ b/xCAT/xcat.conf.apach24 @@ -10,7 +10,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1" AllowOverride None Require all granted - Options Indexes FollowSymLinks + Options -Indexes +FollowSymLinks Header always append X-Frame-Options SAMEORIGIN Header always append X-XSS-Protection "1; mode=block" Header always append X-Content-Type-Options nosniff @@ -18,10 +18,9 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1" Header always append X-Permitted-Cross-Domain-Policies none - Options Indexes FollowSymLinks Includes MultiViews AllowOverride None Require all granted - Options Indexes +FollowSymLinks + Options -Indexes +FollowSymLinks Header always append X-Frame-Options SAMEORIGIN Header always append X-XSS-Protection "1; mode=block" Header always append X-Content-Type-Options nosniff @@ -33,7 +32,7 @@ Alias /xcat-doc "/opt/xcat/share/doc" AllowOverride None Require all granted - Options Indexes +FollowSymLinks + Options -Indexes +FollowSymLinks Header always append X-Frame-Options SAMEORIGIN Header always append X-XSS-Protection "1; mode=block" Header always append X-Content-Type-Options nosniff