On Sat, Mar 31, 2012 at 1:50 AM, Remi Collet <Fedora(a)famillecollet.com> wrote:
Le 29/03/2012 07:40, Remi Collet a écrit :
> I'm still searching for a good solution I can submit to upstream for
> packages I maintained (ok, this is mainly an issue on debian-like distro).
What do you think of
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
deny from all
</IfModule>
mod_authz_core is only present in httpd >= 2.4
IfModule is part of "Core", so should be present in all case.
I like this, and I'm thinking of using it in my own package. Have you
seen any problems so far?
- Ken