User Tools

Site Tools


This is an old revision of the document!

Apache httpd

Apache 2.4 has landed in Th on June 7, 2013. See announcement.

Access control incompatible changes

All webapps have been migrated to new mod_authz_host access syntax and usage of mod_access_compat is strongly discouraged. The rationale for it is that access_compat and authz_host are independent of each other and operate on separate namespaces. Main httpd configs contain only authz_host directives and enabling access_compat means allowing access to all locations/directories that are not explicitly denied by authz_host.

Note: In case there exist both authz_host and access_compat directives for a location, the Deny clause of ANY of them takes precedence (in short: deny always wins, regardless where it comes from).


Detailed information about upgrading and all changes between apache 2.2 and 2.4 can be found here

Apache 2.2 and 2.4 compatible configs

If you need to support both Apache 2.2 and 2.4, then, for example, if Apache 2.2 config contained:

Allow from all

you need to use:

<IfModule mod_authz_core.c>
    # Apache 2.4
    Require all granted
<IfModule !mod_authz_core.c>
    Order allow,deny
    Allow from all
packages/apache.1370974438.txt.gz · Last modified: 2013-06-11 20:13 by baggins