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 15:33.
|
Recent comments
9 hours 43 min ago
19 hours 11 min ago
20 hours 1 min ago
23 hours 34 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 22 hours ago