From owner-freebsd-ports@freebsd.org Wed Aug 10 21:07:38 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53CB6BB55CD for ; Wed, 10 Aug 2016 21:07:38 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4048A1BBA for ; Wed, 10 Aug 2016 21:07:38 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id 3BB71BB55CC; Wed, 10 Aug 2016 21:07:38 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B53EBB55CB for ; Wed, 10 Aug 2016 21:07:38 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 010971BB9; Wed, 10 Aug 2016 21:07:37 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 84B0F2846D; Wed, 10 Aug 2016 23:07:29 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 54C0E28434; Wed, 10 Aug 2016 23:07:28 +0200 (CEST) Message-ID: <57AB978F.3090800@quip.cz> Date: Wed, 10 Aug 2016 23:07:27 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Mathieu Arnold , ports@FreeBSD.org Subject: Re: [HEADSUP] extracting LoadModule out of httpd.conf References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 21:07:38 -0000 Mathieu Arnold wrote on 08/10/2016 17:42: > Hi, > > It is coming. > > https://reviews.freebsd.org/D7460 > > constructive comments welcome. > > I don't think I will do that for Apache 2.2 because it expires at the end > of the year. I agree that there are problems with LoadModule lines in httpd.conf. Because some modules add / remove or comment / uncomment lines in this file making pkg upgrade painful. So I moved some 3rd party modules configuration in to different included file to solve this issue. But I am not sure I we really need to split httpd.conf in to 20, 30, or more little files as proposed in comments in https://reviews.freebsd.org/D7460 I disagree with "httpd.conf never gets changed by the user" - we are always editing httpd.conf on all our servers. For example Listen to listen only on specified IP, ServerAdmin, CustomLog format and couple of Included *.conf files at the end of the httpd.conf I cannot agree with splitting httpd.conf in to many small files. Change like this was made for dovecot.conf (24 files in conf.d) and it is lot of pain to find something in this mess or edit more than one thing in one file. I understand that machine (scripted) editing of one big file is worse than deleting / replacing small files but for us humans one (or a few) files are easily editable than tens of small files. So... LoadModule can be extracted from httpd.conf (and nothing else). I am not sure if it should be one file for all modules or separate files for each module. Miroslav Lachman