Skip to content

Commit

Permalink
Index for index.php must come first
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Mar 18, 2021
1 parent 7f099a6 commit 12a821d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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'}},
Expand Down

4 comments on commit 12a821d

@marclaporte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did the same for our wrapper script for Apache: https://gitlab.com/wikisuite/virtualmin-installer/-/merge_requests/3/diffs

@iliajie
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apache already has it set that way, right?

@marclaporte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, right, you changed in September: virtualmin/virtualmin-gpl@b070713#diff-b79606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910

I will investigate to see why we did this.

@marclaporte
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.