This error may occur when attempting to access applications that have an index.php file (or other index file), but not an index.html or other specified ‘directory index’ file.
In this case, you need to add index.php to the DirectoryIndex directive.
vim /etc/httpd/conf/httpd.conf
Change:
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
to:
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
Then exit and save the file with the command :wq .
Be sure to restart Apache:
systemctl restart httpd
Like if this tips helped you.