httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Jeff Johnson)
Subject Re: Mass virtual hosting - how to handle ftp?
Date Fri, 03 Dec 1999 17:02:34 GMT
Have you taken a look at NcFTPD?  We are using it to authenticate out
of SQL.  It's very easy to do.  It is EXACTLY what you want to.

Just get the current version 2.5.0, and the SDK for developing the
authentication plugins.

On Fri, Dec 03, 1999 at 11:41:45AM +0100, Dirk-Willem van Gulik wrote:
> Delivered-To:
> X-Sieve: cmu-sieve 1.3
> X-Passed: MX on Fri, 3 Dec 1999 10:41:46 GMT and masked
> X-No-Spam: Neither the receipients nor the senders email address(s) are
> 	to be used for Unsolicited (Commercial) Email without the
> 	explicit written consent of either party; as a per-message
> 	fee is incurred for inbound and outbound traffic to the originator.
> Posted-Date: Fri, 3 Dec 1999 10:41:46 GMT
> Date: Fri, 3 Dec 1999 11:41:45 +0100 (CET)
> From: Dirk-Willem van Gulik <>
> X-Sender:
> To:
> Subject: Re: Mass virtual hosting - how to handle ftp?
> In-Reply-To: <>
> Precedence: bulk
> Reply-To:
> On Thu, 2 Dec 1999, Graham Leggett wrote:
> > We have been looking at the mass virtual hosting module for Apache to
> > create an environment where we can have lots of userids inside an LDAP
> > database and host a website called <userid> for each user.
> > This is the easy part, mod_vhost_alias works great.
> > 
> > The hard part is the fact that we also need to provide these users with
> > ftp access to their directories... and we definitely don't want to
> > create posix accounts so these people can do this, as this will mean
> > extra work we want to avoid.
> > 
> > Has this problem been solved by someone? If so, how?
> I've done several custom hack's for customers based on the wu-ftpd and
> effectivly chroot() the user to his section. 
> The backends we used withere either berkely DB (shared with apache and
> mod_rewrite), Netscape's LDAP and, in one case, mSQL. But in all of the
> cases, generalizing made little sense, as it was simpler to just cook a
> custom hack for a specific case. We are only talking a couple of lines of
> code.
> Note that we had a _much_ harder time getting the ftpD to scale in the
> rigth sort of way, and make sure we had some level of indirection when
> 'routing' a user to the right ftp server.
> One important hack was to 'trap' some of the ls and other command possible
> and not rely on a group/passwd and so on for the translation but issue the
> native one.
> DW

View raw message