-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Volker Kuhlmann wrote: >>> What I would really like is some quick and easy way to create multiple >>> "document roots" with vsftpd, even if it means cranking up multiple >>> instances of it. > > This is a missing functionality in vsftpd in the first place, of course, > but setting up vsftpd is still a *lot* easier + faster than doing the > same with apache.
Yes and no. Alias directives in Apache are pretty easy to set up ;) (granted, mod_rewrite is voodoo) >> You can't. >> And you can't do name-based virtual hosting with FTP, only IP based >> virtual hosting. > > Yes I can do. Open your mind ;) > > It is easy to run one vfstpd per port, on the same IP address. Which is > about the same as running one per IP address on the same port as far as > "virtual hosting" (haha) is concerned. My interest isn't in virtual > hosts anyway, but in directory mapping: Aaah, ok. Sorry, my bad. I implied vhosting. Running FTP on non-standard ports isn't a very good idea though - IMHO. > /usr/dir1/ -> ftp://../dir1/ > /data/suse/ -> ftp://../suse/ > /disk/big/ -> ftp://../big/ Ok. Yeah, that sucks with all FTP daemons except ProFTPd. AFAICR, ProFTPd has directory mapping configuration directives, pretty much like Apache's aliases. OTOH, the use of ProFTPd isn't really encouraged -- vsftpd has a much better security record. Didn't check pure-ftpd recently. - From what I've tried to do with it, vsftpd is not very flexible wrt directory mapping. One base directory for anonymous, period. > It's not so difficult to support this via init.d runlevel script, and > I'm thinking of implementing it. How would you do that with vsftpd ? > Alternatively I can arrange my disks to suit vsftpd, which I'm not going > to do, or use mount --bind. mount --bind is an option (too bad hard links don't work across partitions, but mount --bind does pretty much the same, even though it's limited to directories, but that's something everyone can live with, I guess). Sorry, I don't understand how you'd want to configure such directory mappings with vsftpd (and without mount --bind) ... ? cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFaMpHr3NMWliFcXcRAg2pAKCl5gM74JbG4lgZIkCyfN04qF0d8QCfRHQb Dusgxi5irU+6mMTzlaog+7E= =IF4S -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
