• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Can't change the default index page

J

juanchi

Guest
I don't know why this is such a pain under plesk, don't get me wrong, I like plesk but this issue is just a nightmare, I'm running plesk 7.5.2 and a few months ago I have this same problem and I read in another thread, that I can't find now, that I have to edit a file, I´m not sure but I think it was the php.ini, for some reason this file have the directoryindex set to index.php and no mater what I put on vhost.conf or .htaccess I can't change the default index page, I rember that the persons that discover this issue didn't know why this file have the instructions for the directoryindex but It was defenitley the problem, I edit that file and my problem was fixed, now I have the same problem after I upgraded, I will apreciate if anyone can help me with this problem, thanks.

BTW I already tried the httpd.conf without success.
 
Did you restart the web server (apache) after you made the change?

/etc/httpd/conf/httpd.conf


DirectoryIndex at_domains_index.html index.html index.htm index.cgi index.html.var index.shtml index.cfm index.php

Sam
 
Hi,
Try to rename your page index.html (html and not only htm) and upload your page.
This works for me.
 
Back
Top