File tree 4 files changed +28
-8
lines changed
4 files changed +28
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Listen 80
36
36
Require all granted
37
37
</Directory >
38
38
39
+ DocumentRoot /var/www/html
40
+
39
41
AccessFileName .htaccess
40
42
<FilesMatch "^\.ht" >
41
43
Require all denied
@@ -52,6 +54,9 @@ CustomLog /proc/self/fd/1 combined
52
54
<FilesMatch \.php$ >
53
55
SetHandler application/x-httpd-php
54
56
</FilesMatch >
55
- DirectoryIndex index.php
56
57
57
- DocumentRoot /var/www/html
58
+ # Multiple DirectoryIndex directives within the same context will add
59
+ # to the list of resources to look for rather than replace
60
+ # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex
61
+ DirectoryIndex disabled
62
+ DirectoryIndex index.php index.html
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Listen 80
36
36
Require all granted
37
37
</Directory >
38
38
39
+ DocumentRoot /var/www/html
40
+
39
41
AccessFileName .htaccess
40
42
<FilesMatch "^\.ht" >
41
43
Require all denied
@@ -52,6 +54,9 @@ CustomLog /proc/self/fd/1 combined
52
54
<FilesMatch \.php$ >
53
55
SetHandler application/x-httpd-php
54
56
</FilesMatch >
55
- DirectoryIndex index.php
56
57
57
- DocumentRoot /var/www/html
58
+ # Multiple DirectoryIndex directives within the same context will add
59
+ # to the list of resources to look for rather than replace
60
+ # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex
61
+ DirectoryIndex disabled
62
+ DirectoryIndex index.php index.html
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Listen 80
36
36
Require all granted
37
37
</Directory >
38
38
39
+ DocumentRoot /var/www/html
40
+
39
41
AccessFileName .htaccess
40
42
<FilesMatch "^\.ht" >
41
43
Require all denied
@@ -52,6 +54,9 @@ CustomLog /proc/self/fd/1 combined
52
54
<FilesMatch \.php$ >
53
55
SetHandler application/x-httpd-php
54
56
</FilesMatch >
55
- DirectoryIndex index.php
56
57
57
- DocumentRoot /var/www/html
58
+ # Multiple DirectoryIndex directives within the same context will add
59
+ # to the list of resources to look for rather than replace
60
+ # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex
61
+ DirectoryIndex disabled
62
+ DirectoryIndex index.php index.html
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ Listen 80
36
36
Require all granted
37
37
</Directory >
38
38
39
+ DocumentRoot /var/www/html
40
+
39
41
AccessFileName .htaccess
40
42
<FilesMatch "^\.ht" >
41
43
Require all denied
@@ -52,6 +54,9 @@ CustomLog /proc/self/fd/1 combined
52
54
<FilesMatch \.php$ >
53
55
SetHandler application/x-httpd-php
54
56
</FilesMatch >
55
- DirectoryIndex index.php
56
57
57
- DocumentRoot /var/www/html
58
+ # Multiple DirectoryIndex directives within the same context will add
59
+ # to the list of resources to look for rather than replace
60
+ # https://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex
61
+ DirectoryIndex disabled
62
+ DirectoryIndex index.php index.html
You can’t perform that action at this time.
0 commit comments