jay1228

Member
Apr 15, 2005
18
0
151
I used rearrange function to transfer a large site, I waited and waited for one hour nothing was progressing so I hit back and I guess it stopped the process. Now the site is half transferd and apache is still pointing to original home however FTP path is going to home2. How do I change FTP path back to original home?

Thank you
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Look through httpd.conf for the document root path and adjust the location.

/usr/local/apache/conf/httpd.conf
 

xerophyte

Well-Known Member
Mar 16, 2003
215
0
166
Canada
ftp use the user home direct from the /etc/passwd, looks like the script got terminated before cpanel change the httpd.conf to fix it

login to the sheel and use the usermod command
Code:
usermod -d /home/username username
which will change home directory for that users to whatever you give beside -d

Reference : man usermod

The usermod command modifies the system account files to reflect the changes that are specified on the command line. The options which apply to

d home_dir
The user’s new login directory. If the -m option is given the contents of the current home directory will be moved to the new home direc-
tory, which is created if it does not already exist.