I migrated our website from one server to another......both running WHM/cPanel on CentOS. The destination server is running: Apache 2.4, PHP 7.2, and PHP 7.3
After migration, our first problem was when we tried accessing the imported website (using http://XXX.XXX.XXX.XXX/~username/), it was taking us to the defaultwebpage.cgi page. We made the following changes to get rid of that:
Under EasyApache4, we TURNED OFF:
This allowed is to navigate to direct files now in our web directory. For example, this now works: somefile.txt
However, if we remove the reference to a txt file and just try to run the website as usual (which has the original imported .htaccess file), we get the "Not Supported" message.
For example, this doesn't work and gives the Not Supported message:
(We tried removing the .htaccess file just to see if that changed the behavior, but it didn't.)
Searching the forums, I saw this other thread ('After a Migration "Not supported" Message on website') which seems to describe the same "Not Supported" issue, but I think we have done all the suggestions there with the changes we made above.
The suggestion on that thread only said: "You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir"
We DO have the suphp mod enabled........so I'm not sure what else to do.
Any idea on how to get rid of this so that we can display the php/MySql website in this directory? Again, it works if we navigate directly to a txt file, but not a php file.
After migration, our first problem was when we tried accessing the imported website (using http://XXX.XXX.XXX.XXX/~username/), it was taking us to the defaultwebpage.cgi page. We made the following changes to get rid of that:
Under EasyApache4, we TURNED OFF:
- mod_proxy_fcgi
- mod_ruid2
- mod_cgi
- mod_mpm_prefork
- mod_suexec
- mod_suphpmod_mpm_event
- php72-php-soap
- php73-php-soap
This allowed is to navigate to direct files now in our web directory. For example, this now works: somefile.txt
However, if we remove the reference to a txt file and just try to run the website as usual (which has the original imported .htaccess file), we get the "Not Supported" message.
For example, this doesn't work and gives the Not Supported message:
(We tried removing the .htaccess file just to see if that changed the behavior, but it didn't.)
Searching the forums, I saw this other thread ('After a Migration "Not supported" Message on website') which seems to describe the same "Not Supported" issue, but I think we have done all the suggestions there with the changes we made above.
The suggestion on that thread only said: "You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir"
We DO have the suphp mod enabled........so I'm not sure what else to do.
Any idea on how to get rid of this so that we can display the php/MySql website in this directory? Again, it works if we navigate directly to a txt file, but not a php file.