Closed ghost closed 10 years ago
try this:
ln -s /srv /var/www chown -R www-data:www-data /var/www
on you server, you root. And restart VSFTPD e try again on filezilla.
How about if I create another website? With that command, will each user have own site directory? I see using ls -l ajenti created /srv/mysite directory with this owner: www-data 6226
see, the FTP system believes that their sites are in /var/www with these two command you will create a symbolic link to the correct folder (/srv) where the sites are and then make the user www-data master folder of your site, but do not worry the same user is allowed by FTP.
If you use a system user for each site then you need to add this user to group www-data.
okay I think you solve my problem, thanks for your help :)
I created website via websites menu then go to FTP tab, user already created with has password, I set site directory to /srv/mysite After save all changes I try to login to FTP using FileZilla, but I got these responses
Could you help me how to solve this?