- These instructions are intended specifically for solving the error: No matching DirectoryIndex (index.html) found.
- I’ll be working from both Liquid Web Core Managed CentOS 6 and CentOS 7 servers, and I’ll be logged in as root.
This error may occur when attempting to access applications that have an
For example, phpMyAdmin includes an
By default Apache is configured with the following:
…meaning that Apache will only look for directory index files that are named
So, when attempting to access phpMyAdmin, Apache throws the following error:
In this case we want to add
DirectoryIndex index.html index.php
Then exit and save the file with the command
Be sure to restart Apache:
systemctl restart httpd