mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-01-09 09:52:32 +00:00
Restore Indexes to apache
This commit is contained in:
@@ -12,7 +12,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
AllowMethods GET
|
||||
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
|
||||
@@ -23,7 +23,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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 +33,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
|
||||
Alias /xcat-doc "/opt/xcat/share/doc"
|
||||
<Directory "/opt/xcat/share/doc">
|
||||
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
|
||||
|
||||
@@ -10,7 +10,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
<Directory "/tftpboot">
|
||||
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
|
||||
@@ -20,7 +20,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
<Directory "/install">
|
||||
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
|
||||
@@ -32,7 +32,7 @@ Alias /xcat-doc "/opt/xcat/share/doc"
|
||||
<Directory "/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
|
||||
|
||||
@@ -11,7 +11,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
@@ -22,7 +22,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
@@ -35,7 +35,7 @@ Alias /xcat-doc "/opt/xcat/share/doc"
|
||||
AllowOverride None
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
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
|
||||
|
||||
@@ -10,7 +10,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
<Directory "/tftpboot">
|
||||
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
|
||||
@@ -20,7 +20,7 @@ AliasMatch ^/tftpboot/(.*)$ "/tftpboot/$1"
|
||||
<Directory "/install">
|
||||
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
|
||||
@@ -32,7 +32,7 @@ Alias /xcat-doc "/opt/xcat/share/doc"
|
||||
<Directory "/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
|
||||
|
||||
Reference in New Issue
Block a user