FTP problem

Hi,

I have created two virtual servers and its running on the web but when I accessing them on my FileZilla I can access the home directory of the user but if I click above the tree I can see all the list of the users home directory…

On my httpd.conf:

User:apache

Group:apache

I want the user to access only the user home directory and can’t able to see the rest of the users home directory. How?

Thanks,
Janjoe

Howdy,

You may want to take a peek at this article here:

https://www.virtualmin.com/documentation/security/faq

I find a way to resolve this problem of mine and luckily I did it. What I did was setting up the proftpd.conf and use the "DefaultRoot ~ " in global settings, and to make it secured I also added in each virtualhost container… See config below:

<Global>
AllowOverwrite on
<Limit SITE_CHMOD ALL>
AllowAll
</Limit>
DefaultRoot ~
AccessGrantMsg “Congrats you are successfully authenticated!”
</Global<

<VirtualHost YOUR-IP-HERE >
ServerName mydomain1.com
DefaultRoot ~
DefaultRoot /home/mydomain1/ mydomain1
</VirtualHost>

<VirtualHost YOUR-IP-HERE>
ServerName mydomain2.com
DefaultRoot ~
DefaultRoot /home/mydomain2/ mydomain2
</VirtualHost>

Thanks,
Janjoe

Thanks Andre for the link this is also helpful on my part and to all new comers…