The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Urgent Help!

Discussion in 'General Discussion' started by jay1228, Jan 12, 2007.

  1. jay1228

    jay1228 Member

    Joined:
    Apr 15, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Look through httpd.conf for the document root path and adjust the location.

    /usr/local/apache/conf/httpd.conf
     
  3. xerophyte

    xerophyte Well-Known Member

    Joined:
    Mar 16, 2003
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page