From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 03:12:59 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 CB8C916A404 for ; Fri, 27 Apr 2007 03:12:59 +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 7BED913C465 for ; Fri, 27 Apr 2007 03:12:59 +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 md50000060352.msg for ; Thu, 26 Apr 2007 21:10:33 -0600 From: Ray To: freebsd-questions@freebsd.org Date: Thu, 26 Apr 2007 21:12:29 -0600 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704262112.29415.ray@stilltech.net> X-Spam-Processed: mail.geekdelivery.com, Thu, 26 Apr 2007 21:10:33 -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 21:10:33 -0600 Subject: 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 03:12:59 -0000 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. 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