This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:apache [2013-06-11 20:13] baggins |
packages:apache [2013-08-27 16:10] glen [Apache 2.2 and 2.4 compatible configs] |
||
---|---|---|---|
Line 28: | Line 28: | ||
<code apache> | <code apache> | ||
- | <IfModule mod_authz_core.c> | + | # # Apache 2.x |
- | # Apache 2.4 | + | |
- | Require all granted | + | |
- | </IfModule> | + | |
<IfModule !mod_authz_core.c> | <IfModule !mod_authz_core.c> | ||
Order allow,deny | Order allow,deny | ||
Allow from all | Allow from all | ||
+ | </IfModule> | ||
+ | # Apache 2.4 | ||
+ | <IfModule mod_authz_core.c> | ||
+ | Require all granted | ||
</IfModule> | </IfModule> | ||
</code> | </code> | ||
- |