From owner-freebsd-isp Fri May 14 16:17:59 1999 Delivered-To: freebsd-isp@freebsd.org Received: from blues.ghis.net (pppc1-54.eisa.net.au [203.166.251.54]) by hub.freebsd.org (Postfix) with ESMTP id 6483614FFF for ; Fri, 14 May 1999 16:17:53 -0700 (PDT) (envelope-from jim@blues.ghis.net) Received: (from jim@localhost) by blues.ghis.net (8.9.3/8.9.3) id JAA00891; Sat, 15 May 1999 09:17:23 +1000 (EST) Date: Sat, 15 May 1999 09:17:22 +1000 From: Jim Mock To: Ben Vaughn Cc: freebsd-isp@FreeBSD.ORG Subject: Re: public_ftp? Message-ID: <19990515091722.D347@blues.ghis.net> Reply-To: jim@blues.ghis.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 14 May 1999 at 15:59:21 -0500, Ben Vaughn wrote: > Hi, > I was wondering if anyone has had experience giving users a > public_html-type directory in fbsd, only having it for ftp. Ive > thought of just symlinking from /usr/ftp/users/blah, but i think > that permissions would not allow anonymous users to read the various > directories. Any guidance would help! I'm doing this for some customers using wu-ftpd. It allows each virtual host to have it's own anonymous ftp directory (/home/username/public_ftp in my case. The configuration is done in /usr/local/etc/ftpaccess (which is installed when wu-ftpd is installed), and it should look something like this for each vhost.. # virtual hosts virtual aaa.bbb.ccc.ddd root /usr/home/username/public_ftp virtual aaa.bbb.ccc.ddd banner /usr/home/username/public_ftp/etc/ftpmotd virtual aaa.bbb.ccc.ddd logfile /usr/home/username/logs/ftp.log Where aaa.bbb.ccc.ddd is the ip address for that particular domain. Keep in mind that all three lines are needed for each vhost and that in my case, each vhost has it's own ip address. See http://www.landfield.com/wu-ftpd/ for more info. Hope this helps.. -- - Jim Mock - jim@blues.ghis.net - systems administrator - ghis.NET - - work: http://www.ghis.net/ - personal: http://www.ghis.net/~jim/ - - FreeBSD 'zine: http://www.freebsdzine.org/ - jim@freebsdzine.org - - FreeBSD: http://advocacy.freebsd.org/ - jim@advocacy.FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message