Hi,
I need to know how to manually rearrange an account. There are some of the steps that I already know, but I am getting 500 Internal Error and, under list accounts, WHM shows that the account is in /oldhome/. Even though it has been successfully moved
Following is the error that is logged
I have found instances of "/oldhome/USERNAME:..." in httpd.conf but changing them in httpd.conf is not the right in cPanel I guess.
DO I have to alter httpd.conf as-well?
I need to know what other files do I have to alter in-order to manually rearrange an account?
Thanks!
I need to know how to manually rearrange an account. There are some of the steps that I already know, but I am getting 500 Internal Error and, under list accounts, WHM shows that the account is in /oldhome/. Even though it has been successfully moved
Code:
move data from /oldhome/USERNAME to /newhome/USERNAME
replace /oldhome/ with /newhome/ in /var/cpanel/userdata/USERNAME/*
replace /oldhome/ with /newhome/ in /etc/proftpd/USERNAME
replace /oldhome/USERNAME with /newhome/USERNAME in /etc/passwd
rm -rf /oldhome/USERNAME
ln -s /newhome/USERNAME /oldhome/USERNAME
replace /oldhome/USERNAME with /newhome/USERNAME in /newhome/USERNAME/etc/*/passwd
Changing the php Handler from suPHP to DSO fixes the issue but I want to keep it to suPHP.SoftException in Application.cpp:602: Could not execute script "/newhome/USERNAME/public_html/index.php"
I have found instances of "/oldhome/USERNAME:..." in httpd.conf but changing them in httpd.conf is not the right in cPanel I guess.
DO I have to alter httpd.conf as-well?
I need to know what other files do I have to alter in-order to manually rearrange an account?
Thanks!
Last edited: