Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up Virtual Ftp sites

Status
Not open for further replies.

rninja

Technical User
Apr 11, 2001
381
US
I already have apache setup for virtualhosts and I wanted to know how to get corresponding virtualhosts to be accessed via ftp. For instance:
I would like host1.com to be accessed via ftp at host1.com with an acount only for that particular virtualhost, and I want the root directory to be the starting directory, with no access to any other sites/directories/etc..

Thanks in advance for all help!

Rninja
 
It depends on what ftp server you are running.

For virtual hosting of FTP I would recommend getting proftd


You can add virtual hosts to the proftpd.conf file pretty much the same way you add them to httpd.conf.

In order to restrict them to the starting directory you will need to use the chroot directive in the configuration file.

Regards,
Gerald
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top