Date: Mon, 15 Aug 2016 15:56:28 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Miroslav Lachman <000.fbsd@quip.cz>, ports@FreeBSD.org Subject: Re: [HEADSUP] extracting LoadModule out of httpd.conf Message-ID: <BDA106430916D4271A88D9C0@atuin.in.mat.cc> In-Reply-To: <57AB978F.3090800@quip.cz> References: <D81A85DB3A820BF76A693B22@ogg.in.absolight.net> <57AB978F.3090800@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========1F138523896A2B8DB028========== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline +--On 10 ao=C3=BBt 2016 23:07:27 +0200 Miroslav Lachman <000.fbsd@quip.cz> wrote: | 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. Keeping them all in one file is about the same as not splitting them out of httpd.conf, the problem is what I wrote in <https://reviews.freebsd.org/D7460#155853>, quoting here for easier = reading: For example, say, the user uses the official packages: pkg install apache24 edit httpd.conf to enable a few extensions, like, say, ssl and socache_shmcb some updates are done to apache, some more extensions are now built with it pkg upgrade the new extensions are in not in httpd.conf, but they are in httpd.conf.sample, so, the user will have to go look around in the sample file (and know it exists) to get the new LoadModule lines into his httpd.conf. This is not good. Other example: pkg install mod_php56 I uncomment the LoadModule line in httpd.conf that mod_php56 magically added some time later, after php has been updated pkg upgrade the LoadModule php line is gone, or has been commented out, I'm not happy :-) With one LoadModule (it being commented or not) per file, using @sample, what the user comments or uncomments never gets changed. --=20 Mathieu Arnold --==========1F138523896A2B8DB028========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXsdgcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IseQP/ijPIB9YbjexM1pURYL6weMm dc1Pam6atJDqUlhqO9Ae7JxRI6XgL3o9r5CE21EGDCZGbLGtEr+MkPkQQNq+yU+i SQz4c9ZvU2lCi25md1bjQxE+kaRUFlCKlRmITkd2hy9ODokLH63M8xgqejsv4w1n fV0QM7NGG1+mS1Ydp5tZvzUqxeUKqN6285bJuV2sVVrF8NIAJfSGxN4bgEOpTOTJ JoUH2t6BjYa5tMf8t+yjqMcmj50przIRBajbhgredK6BOuZTFV+++IHDp0cs1nQ2 88hxF3A+IVLh+/xHQSgNnuymcML8qQ0OWPjrXa5wMGpt3yo1YunPQEEJ/Ls/OItY c8FgNniN04vcNyf9Cj/GdF3eI5d5HOY9mttI/9Z9mGdqj0/ipi5lQAVu4/HOd6RU 9aAlmTnarKNvDceGDvnFXkBSRgkP14D+r1CT4FE/fgbP4S7rFfmCg3n1GJMiunAA GcJBjoZG/TAUkbLArxmOXOkyNu5kN3kMROmKGhFE9qPg1dN10+NpW4T9Xzy5qdYs DnvmqR+EC3Jrvq8xjyotSQM/Rgm8ea2e2xpdy0yc7Is0hSUnWPvOkIr7ANVZLUqC nwg+8BoRhcyH3ydC8qRxh3hepYgUox2NK7zKkWJtTaGadcL32TNt+n0X2MPQs2j1 YJSeJx05KELzDU/ymSj3 =sZIQ -----END PGP SIGNATURE----- --==========1F138523896A2B8DB028==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDA106430916D4271A88D9C0>