Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 1999 09:17:22 +1000
From:      Jim Mock <jim@blues.ghis.net>
To:        Ben Vaughn <bvaughn@prophetnetworks.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: public_ftp?
Message-ID:  <19990515091722.D347@blues.ghis.net>
In-Reply-To: <Pine.BSF.4.10.9905141555280.86555-100000@shell01.prophetnetworks.net>
References:  <Pine.BSF.4.10.9905141555280.86555-100000@shell01.prophetnetworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990515091722.D347>