1 <?xml version='1.0' encoding='UTF-8' ?>
2 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="./style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <manualpage metafile="new_features_2_4.xml.meta">
25 <title>Overview of new features in Apache 2.4</title>
28 <p>This document describes some of the major changes between the
29 2.2 and 2.4 versions of the Apache HTTP Server. For new features since
30 version 2.0, see the <a href="new_features_2_2.html">2.2 new features</a>
35 <title>Core Enhancements</title>
41 <title>Module Enhancements</title>
46 <section id="programs">
47 <title>Program Enhancements</title>
52 <section id="developer">
53 <title>Module Developer Changes</title>
55 <dt>Check Configuration Hook Added</dt>
57 <dd>A new hook, <code>check_config</code>, has been added which runs
58 between the <code>pre_config</code> and <code>open_logs</code>
59 hooks. It also runs before the <code>test_config</code> hook
60 when the <code>-t</code> option is passed to
61 <program>httpd</program>. The <code>check_config</code> hook
62 allows modules to review interdependent configuration directive
63 values and adjust them while messages can still be logged to the
64 console. The user can thus be alerted to misconfiguration problems
65 before the core <code>open_logs</code> hook function redirects
66 console output to the error log.</dd>
68 <dt>Expression Parser Added</dt>
70 <dd>We now have a general-purpose expression parser, whose API is
71 exposed in <var>ap_expr.h</var>. This is adapted from the
72 expression parser previously implemented in
73 <module>mod_include</module>.</dd>
75 <dt>Authorization Logic Containers</dt>
77 <dd>Advanced authorization logic may now be specified using the
78 <directive module="mod_authz_core">Require</directive> directive
79 and the related container directives, such as
80 <directive module="mod_authz_core"
81 type="section">RequireAll</directive>, all
82 provided by the <module>mod_authz_core</module> module.</dd>