Re: Idea: Apache configuration snippets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 22/02/2015 20:08, Adam Williamson a écrit :
> On Sun, 2015-02-22 at 18:51 +0100, Remi Collet wrote:
>> Le 22/02/2015 07:21, Adam Williamson a écrit :
>>> Working on the ownCloud package today, it occurred to me that we 
>>> probably have quite a lot of packages carrying Apache access 
>>> control snippets around, like these:
>>
>> This configuration have a big advantage, it can be upstream ;)
> 
> Sorry, I don't quite get it - can you unpack a bit? What configuration 
> can be upstream? The existing .conf files with all the boilerplate? 
> What upstreams carry those?

Some upstream provides the httpd configuration file.

Ex: ocsinventory [1]
(even if this one is not 2.4 aware despite I have send them the needed
changes months ago...)

Some others projects (perhaps more common) provides some .htaccess files
in their sources tree (these files have to be 2.4 aware, and the httpd
conf file, is "mostly" a merge of all the .htaccess).


Notices:

1. <IfModule mod_authz_core.c> can be used on all distro,
the reason why I have proposed this one first, (and it have be adopted
in most of our packages).

2. <IfVersion < 2.4> is not usable (upstream) as some distro (debian)
don't provide mod_version by default... :(

3. "Deny from all" (from 2.2) works with 2.4, but only in Fedora/RHEL
because mod_access_compat is enabled (again, not in some other distro...
so the needed of "Require all denied")



Remi.


[1]
http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-server/trunk/files/head:/etc/ocsinventory/


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux