In Progress CPANEL-40953 - Transfer tool incorrectly adds index.html which breaks websites!

jigster

Active Member
May 17, 2007
25
3
153
Hi everyone.

I've got a default page at /root/cpanel3-skel/public_html/index.html which automatically creates a holding page for new accounts. That works great for new accounts, but when transferring accounts in from another server using WHM > Transfers > Transfer Tool, the index.html page gets created even if the site doesn't have one!! So for example when I transfer a website that has index.php as the main website page (no index.html), on the new server it suddenly has both index.php AND index.html. Because html takes precedence over the php file, suddenly all websites transferred in without an existing index.html is showing the holding page instead of the website homepage. This is a huge pain because it involves manually comparing the files on the old / new servers and manually deleting the index.html for any that shouldn't be there. Very time consuming for transfers of hundreds of sites.

Am I missing something, or is this a bug? Thanks
 
Last edited:

jigster

Active Member
May 17, 2007
25
3
153
Great, thanks a lot. It would be amazing if this could be fixed to avoid all the manual work when transferring
 
  • Like
Reactions: cPRex

jigster

Active Member
May 17, 2007
25
3
153
Any update on this? It wasted hours of my time every time I have to move to a new server and this bug has been present for years! Now that cPanel is so expensive in comparison to the competion, I would expect bugs to be fixed fairly quickly. Premium price should mean premium service!
 

quietFinn

Well-Known Member
Feb 4, 2006
2,109
580
493
Finland
cPanel Access Level
Root Administrator
I have solved this problem like this:

in /root/cpanel3-skel/public_html/ I have file netfinn.php (instead of index.html).

in Apache configuration -> Directoryindex Priority I have netfinn.php at the bottom of the list.
 
  • Like
Reactions: jigster