From owner-freebsd-questions@FreeBSD.ORG Fri Mar 14 17:12:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FC171065671 for ; Fri, 14 Mar 2008 17:12:25 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6F68FC23 for ; Fri, 14 Mar 2008 17:12:20 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 451B71CD18; Fri, 14 Mar 2008 09:12:19 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 14 Mar 2008 18:12:16 +0100 User-Agent: KMail/1.9.7 References: <64c038660803131829q36310d80k3d8a041569e61ff7@mail.gmail.com> <20080314152553.GD19851@gizmo.acns.msu.edu> <47DA9E42.4070702@dial.pipex.com> In-Reply-To: <47DA9E42.4070702@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803141812.17959.fbsd.questions@rachie.is-a-geek.net> Cc: Alex Zbyslaw , Modulok Subject: Re: /usr/local/www a tradition? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 17:12:25 -0000 On Friday 14 March 2008 16:48:18 Alex Zbyslaw wrote: > On Thu, Mar 13, 2008 at 07:29:55PM -0600, Modulok wrote: > > Is there a compelling reason for placing subversion and web-server > > data in /usr/local and not somewhere else? I was thinking of keeping > > all user accounts (human and daemon alike) in one place like, > > /home/www and /home/svn and so forth. > > > > Before I break convention, I just thought I'd see if placing said > > files in /usr/local was just a tradition or if there was another > > reason for it. > > Break the convention! > > Where apache or any other web server looks for its "home" is down to > *your* apache config. Different vhosts can look wherever they like for > their own homes and you can put them wherever you like - no need for > them to be in the same place at all. Depends a bit on the user's defenition of 'data'. For some, 'data' includes apps like phpMyAdmin, for some it doesn't. Anything installed by ports should remain in /usr/local. Self-respecting webservers support aliasing weblocations to physical directories, so in most cases it can be worked around. In the event you need multiple installations of the same webapp, either use jails or don't use the ports to install them (and then also don't put them in /usr/local). -- Mel Problem with today's modular software: they start with the modules and never get to the software part.