From 12a821df95e2a770eb5955ae687e2a7790d9271b Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Thu, 18 Mar 2021 11:59:27 +0300 Subject: [PATCH] Index for `index.php` must come first --- virtual_feature.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtual_feature.pl b/virtual_feature.pl index b749bfc..1ad825d 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -185,7 +185,7 @@ sub feature_setup # Allow sensible index files push(@{$server->{'members'}}, { 'name' => 'index', - 'words' => [ 'index.html', 'index.htm', 'index.php' ] }); + 'words' => [ 'index.php', 'index.html', 'index.htm' ] }); # Add a location for the root #push(@{$server->{'members'}},