On Sun, 2015-02-22 at 18:28 +0100, Reindl Harald wrote: > Am 22.02.2015 um 18:17 schrieb Adam Williamson: > > On Sat, 2015-02-21 at 22:21 -0800, Adam Williamson wrote: > > > > > > would it make sense to provide these in some common package as > > > 'snippets' that could be included into configuration files? Then > > > we could have something like: > > > > > > <Directory /usr/share/owncloud/> > > > Include auth-local.inc > > > </Directory> > > > > > > instead of schlepping the boilerplate around. And if we have any > > > more 2.2/2.4 situations in future we can handle them by changing > > > just a handful of files. And whenever EL 6 finally dies, we can > > > drop the 2.2 bits easily. > > > > In fact, if we put the snippets in the Apache package or some > > package which is tied to Apache versioning, we can drop all the > > <IfModule> stuff - Apache 2.2 packages would carry snippets that > > use Allow/Deny, Apache 2.4 packages would carry snippets that use > > Require. Packaged web apps can just include the appropriate > > snippet and not worry > > with --enable-mods-static="version" that stuff could be way easier > and clearer including minor versions in case of changes sometimes > happening in the same major release (new TLS specific options as > example) > > the only reason why you can't write things like below is that you > need to wrap a <IfModule mod_version.c> around which defeats the > whole purpose > > <IfVersion < 2.4> > Order deny,allow > Deny from all > </IfVersion> > <IfVersion >= 2.4> > Require all denied > </IfVersion> That seems kind of a separate issue to my idea, as with my idea we wouldn't *need* per-app config files to include this particular version-dependent stuff any more. But it sounds like it might be useful for other cases, sure. Could you perhaps start a new thread for that to avoid confusing this one? -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct