This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
packages:apache [2013-06-11 19:26] glen created |
packages:apache [2013-06-11 19:31] glen |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Apache ====== | ====== Apache ====== | ||
+ | Apache 2.4 has landed in Th on June 7, 2013, see [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2013-June/023560.html|announcement]]. | ||
- | Apache 2.4 has landed Th on June 7, 2013, see [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2013-June/023560.html|announcement]]. | ||
+ | ===== Authz compat ===== | ||
+ | |||
+ | If in Apache 2.0/2.2, you would write: | ||
+ | <code apache> | ||
+ | Allow from all | ||
+ | </code> | ||
+ | |||
+ | Then having apache 2.4 and 2.x support, you can write: | ||
+ | <code apache> | ||
+ | <IfModule mod_authz_core.c> | ||
+ | # Apache 2.4 | ||
+ | Require all granted | ||
+ | </IfModule> | ||
+ | <IfModule !mod_authz_core.c> | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </IfModule> | ||
+ | </code> |