From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 04:03:09 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A95F16A409 for ; Fri, 27 Apr 2007 04:03:09 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from mail.geekdelivery.com (s205-206-56-226.ab.hsia.telus.net [205.206.56.226]) by mx1.freebsd.org (Postfix) with ESMTP id 0370213C448 for ; Fri, 27 Apr 2007 04:03:04 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from [192.168.0.102] ([70.65.134.12]) by media32.ca (mail.geekdelivery.com) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50000060374.msg for ; Thu, 26 Apr 2007 22:00:38 -0600 From: Ray To: freebsd-questions@freebsd.org User-Agent: KMail/1.9.5 References: <200704262112.29415.ray@stilltech.net> In-Reply-To: <200704262112.29415.ray@stilltech.net> MIME-Version: 1.0 Content-Disposition: inline Date: Thu, 26 Apr 2007 22:02:39 -0600 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200704262202.39440.ray@stilltech.net> X-Spam-Processed: mail.geekdelivery.com, Thu, 26 Apr 2007 22:00:38 -0600 (not processed: message from valid local sender) X-MDRemoteIP: 70.65.134.12 X-Return-Path: ray@stilltech.net X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-MDAV-Processed: mail.geekdelivery.com, Thu, 26 Apr 2007 22:00:39 -0600 Subject: Re: ftp chroot directory structure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ray@stilltech.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 04:03:09 -0000 On Thursday 26 April 2007 9:12 pm, Ray wrote: > Hello, > I am setting up a new web server that must host data from an existing > webserver. We've never had an organized folder structure for private data, > (passwords, secure data, etc) and I'm trying to change that. > there are currently a number of virtual sites all handled through apache > virtualhosts. all (or at least most) users must have ftp access. > my original thought was this: > > apache/priv_data/domain1 > apache/pub_data/domain1 > > where > apache/priv_data/domain1 > contains a soft link to > apache/pub_data/domain1 > and the ftpchroot is > apache/pri_data/domain1 > > this doesn't work like I wanted it to. I can't follow the link with an ftp > client. after posting, I decided I'm going to do it this way, and hope the other developers didn't cheat too bad. I think this is the right way. Ray > obviously the best solution would be > apache/priv_data/domain1 > which contains > apache/data/domain1/pub_data > with domain1 as the ftp root > and pub_data as the http root, > but I'm not the developer of all the sites, and I don't want to have to > trouble shoot other peoples possibly incorrectly written sites (hard coded > path structures) > What can you suggest as my best solution? > Thanks > Ray > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"