Date: Tue, 2 Mar 1999 12:46:01 -0600 From: "Ellis, Joshua" <ellis@kcc.com> To: "'Dean Hollister'" <dean@odyssey.apana.org.au>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: RE: virtual domains Message-ID: <2B2253731B41D211846400805F19594B024783A4@ustcax08.kcc.com>
next in thread | raw e-mail | index | archive | help
> Is anonymous ftp available in virtual domains? Ie, if > I have the virtual domain: > > ftp.aieh.org.au > > and I cname that to the designated server. How to I > setup the ftp server to know what filesystem to access > for any anonymous requests to that domain? Use wu-ftpd. Quicky instructions: Grab the latest wu-ftpd from ftp://ftp.academ.com/pub/wu-ftpd/private/ and unpack the distribution. cd into the wu-ftpd-2.4.2-beta-NN (where will be some number) and edit src/makefiles/Makefile.fbs and support/makefiles/Makefile.fbs to add -DVIRTUAL (and whatever other compiler options you want, such as -O2 -m486 -pipe) to CFLAGS. Then do "./build fbs" and "./build install". Edit /etc/inetd.conf to change the entry from ftp: change /usr/libexec/ftpd to /usr/local/libexec/ftpd and replace "ftpd -l" at end of line with "ftpd -a". Re-start inetd (kill -hup `cat /var/run/inetd.pid`). In the wu-ftpd distribution, there should be a sample ftpaccess file; make sure this is in /usr/local/ftpaccess. Use the "virtual" statments inside ftpaccess to setup anonymous FTP based on IP address, like this: virtual 123.123.123.123 root /usr/ftp/ftp.aieh.org.au/ftproot virtual 123.123.123.123 banner /usr/ftp/ftp.aieh.org.au/banner.msg virtual 123.123.123.123 logfile /usr/ftp/ftp.aieh.org.au/ftp.log Just be sure there is a "bin" folder containing ls under the ftproot. -joshua --- Joshua Ellis: Kimberly-Clark Internet / Notes Services work: ellis@kcc.com http://www.kimberly-clark.com phone: (920)721-2779 Fax: (920)721-6180 [SDG] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B2253731B41D211846400805F19594B024783A4>