Using ftp in my website directory var/www/html

June 15, 2014 2.9k views
I installed the FTP as it shown in the tutorials. The problem is they are just showing it as a new user in the home directory. I want to use it on my apache website, var/www/html directory. How can i make it possible. Its not shown in the tutorials. here is the tutorial that I read:
1 Answer
Hey, I would recommend that you change your apache web dictionary to your FTP home folder as it will be more secure. To do this you need to edit your Apache configuration to reflect the changes and once that is done you should updated the permissions of the folder by running these commands.
chown -R user-apache-runs-as:group-apache-runs-in /home/yourftpuser
chmod -R 755 /home/yourftpuser/*
Alternatively I would recommend using SFTP.
Have another answer? Share your knowledge.