From owner-freebsd-stable@FreeBSD.ORG Tue Mar 25 06:01:32 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 451D91065670 for ; Tue, 25 Mar 2008 06:01:32 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [75.160.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0888FC25 for ; Tue, 25 Mar 2008 06:01:26 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id m2P61IvP025606 for ; Mon, 24 Mar 2008 23:01:24 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id m2P61IG3025605 for freebsd-stable@freebsd.org; Mon, 24 Mar 2008 23:01:18 -0700 (PDT) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [75.160.109.235]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Mon, 24 Mar 2008 23:01:18 -0700 Message-ID: <20080324230118.vu8on77nwg00s4ok@webmail.1command.com> X-Priority: 3 (Normal) Date: Mon, 24 Mar 2008 23:01:18 -0700 From: "Chris H." To: freebsd-stable@freebsd.org References: <868x0ezh9u.fsf@zid.claresco.hr> <200803192028.m2JKSZen098816@lurza.secnetix.de> <20080323000707.GA33311@fupp.net> <1206249710.7878.12.camel@tremelay> In-Reply-To: <1206249710.7878.12.camel@tremelay> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Subject: Re: Upgrading to 7.0 - stupid requirements X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 06:01:33 -0000 Quoting Michael Gratton : > On Sat, 2008-03-22 at 20:59 -0700, Freddie Cash wrote: >> On Sat, Mar 22, 2008 at 5:07 PM, Anders Nordby wrot= e: >> > conf.d (custom configuration) >> > sites-available (virtualhost configuration) >> > sites-enabled (symlinks for enabled virtualhosts) >> > mods-available (available Apache modles) >> > mods-enabled (symlinks for enabled Apache modules) >> >> Oh, gods, please, no! That is one of the things I absolutely hate >> about Debian (and its derivatives). There are some packages on Debian >> where they use separate text files for each configuration option >> (ProFTPd, for examples). It is a huge mess of directories and files >> that makes it a *royal* PITA to edit at the CLI. > > =EF=BB=BFActually, it makes two things really easy: > > 1. Automated installation of configuration required by other packages, > without them all munging and potentially breaking a single, central > config file. For example, you have Apache installed, and you want to > install PHP, the PHP port/package drops a file with the needed config > files into /etc/apache2/conf.d. No ad-hoc editing of httpd.conf > required, no loss of the work you did to customise it in the first > place. /etc/make.conf will easily allow you to make "boilerplate" install/make schemes already. http[s]d.conf can always remain exactly the same. For any desired (custom) changes, simply add include conf/custom1.conf include conf/custom2.conf include conf/custom... etc... to the http[s]d.conf, and the custom changes/additions are sucked in "magically". Apache has been like that since the very beginning. I don't see where Linux has improved on this at all. > > 2. As someone else pointed out, managing large numbers of vhosts (which > is really just a special case of #1. use the following line in your http[s]d.conf file include vhost/* and your done. Linux had nothing to do with this. You can thank NCSA for this scheme. :) > >> Yes, a scheme like that is better for GUI tools, but it really makes >> things more difficult for non-GUI users/uses (like headless servers >> managed via SSH). > > It has nothing to do with GUI tools. > >> One of the things I *really* like about FreeBSD is that it has the >> "one config file per app/system" setup. > > Until you install that one last port that breaks the config file you > spent hours tweaking. Again - YOU, the SA are given the control with FBSD. Simply create an /etc/make.conf with options that will be used with ALL your boxen. Then simply add any host specific options as required/desired. Leaving you less to keep track of, and less opportunity for errors to creep in. :) --Chris H > > /Mike > > -- > Michael Gratton > Quuxo Software > -- panic: kernel trap (ignored)