Re: Help me out for Virtual ftp
Tony Nugent <[email protected]> Sat, 11 May 2002 13:23:14 +1000
| Newsgroups | gmane.linux.redhat.release.cartman |
|---|---|
| Organization | Linux Works for network |
| Message-ID | <[email protected]> |
On Fri May 10 2002 at 15:12, pratik wrote: > Hie !!! > I want to setup virtual ftp for couple of domains, i have installed > wu-ftpd-2.6.1-16.7x.1 i want to create user1 for domain1 user2 for > domain2 & allow specific users to use specific domains folder only to > upload download data i have checked the documentations part but m > finding it difficult from were to start > Can any body guide me for how to setup virtual ftp, creat users , grant > Access to that user all in simplest way ? > I hope i get help for all above requirements. Unlike the http protocol, ftp does not (can not) host virtual ftp domains on a single IP... each of your virtual ftp sites needs to have its own IP address (which can all be hosted on the one box and even all on the one interface, no problem). Pointing the domain names in the DNS at a single IP does not work for virtual ftp sites like it does for http. (http is different since the actual URL that is being requested is in the client's header request given to the httpd server. The ftp protocol has no facility for this sort of functionality). Once you have your ftp server working with multiple IPs, from there you can hack the wu-ftpd config files to do what you want (since it can now differentiate its behaviour according to the local IP it is talking on). If you want to do things like prevent user1 from logging into domain2 (which would normally be possible with multiple accounts on the one box), then you'll have to do some fine tuning to the access controls in /etc/ftpaccess. Good luck. > Cartman-list mailing list (gee, cartman? zoot was a much better 6.x distro. I thought this list was dead by now :) Cheers Tony