View Single Post
Old 8th April 2011, 16:30
Smitherines Smitherines is offline
Junior Member
Join Date: Apr 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Hey dude. So you have two websites that you're hosting with Apache? Do you mean your Apache DocumentRoot is /var/www where both of your websites are hosted from? You basically want to have one FTP user to be able to access both website files, right?

Go to your passwd file at /etc/passwd and open that up in your favorite editor. If you look on the left side, you'll see all the users on your system. Find the user you want to access both sites via FTP with and change the first directory set from /home/user to /var/www/ and you should be set! Just reload your FTP software at that point for the changes to take effect.

Last edited by Smitherines; 8th April 2011 at 16:33.
Reply With Quote