I have two files in the root of the site:
index.html and index.php
I would like the index.html file to be interpreted when the site is visited.
I have such directive in site description file
Code: Select all
DirectoryIndex index.html index.htm index.php
If I put the similar DirectoryIndex directive in the .htaccess file, then everything works fine. That is, in this case, the index.htm file is interpreted properly.
I enclose two files in the attachment:
- The file .htaccess in the root folder of the site
- Site descriptor in folder /etc/httpd/sites-available
Please help me with this issue.
Thank you beforehand!