upgrading.xml revision ffec3e56ff5331a2d732ec07e9d107303fed43f4
22d5d84393d960a2027f472036f3fee15d7dbce9nd<?xml version='1.0' encoding='UTF-8' ?>
22d5d84393d960a2027f472036f3fee15d7dbce9nd<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
22d5d84393d960a2027f472036f3fee15d7dbce9nd<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
22d5d84393d960a2027f472036f3fee15d7dbce9nd<!-- $LastChangedRevision$ -->
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd<!--
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding Licensed to the Apache Software Foundation (ASF) under one or more
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding contributor license agreements. See the NOTICE file distributed with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding this work for additional information regarding copyright ownership.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding The ASF licenses this file to You under the Apache License, Version 2.0
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding (the "License"); you may not use this file except in compliance with
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding the License. You may obtain a copy of the License at
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd http://www.apache.org/licenses/LICENSE-2.0
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd Unless required by applicable law or agreed to in writing, software
22d5d84393d960a2027f472036f3fee15d7dbce9nd distributed under the License is distributed on an "AS IS" BASIS,
22d5d84393d960a2027f472036f3fee15d7dbce9nd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22d5d84393d960a2027f472036f3fee15d7dbce9nd See the License for the specific language governing permissions and
22d5d84393d960a2027f472036f3fee15d7dbce9nd limitations under the License.
22d5d84393d960a2027f472036f3fee15d7dbce9nd-->
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd<manualpage metafile="upgrading.xml.meta">
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd<title>Upgrading to 2.4 from 2.2</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd<summary>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In order to assist folks upgrading, we maintain a document
22d5d84393d960a2027f472036f3fee15d7dbce9nd describing information critical to existing Apache HTTP Server users. These
22d5d84393d960a2027f472036f3fee15d7dbce9nd are intended to be brief notes, and you should be able to find
22d5d84393d960a2027f472036f3fee15d7dbce9nd more information in either the <a
22d5d84393d960a2027f472036f3fee15d7dbce9nd href="new_features_2_4.html">New Features</a> document, or in
22d5d84393d960a2027f472036f3fee15d7dbce9nd the <code>src/CHANGES</code> file. Application and module developers
22d5d84393d960a2027f472036f3fee15d7dbce9nd can find a summary of API changes in the <a href="developer/new_api_2_4.html"
22d5d84393d960a2027f472036f3fee15d7dbce9nd >API updates</a> overview.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>This document describes changes in server behavior that might
22d5d84393d960a2027f472036f3fee15d7dbce9nd require you to change your configuration or how you use the server
22d5d84393d960a2027f472036f3fee15d7dbce9nd in order to continue using 2.4 as you are currently using 2.2.
22d5d84393d960a2027f472036f3fee15d7dbce9nd To take advantage of new features in 2.4, see the New Features
22d5d84393d960a2027f472036f3fee15d7dbce9nd document.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>This document describes only the changes from 2.2 to 2.4. If you
22d5d84393d960a2027f472036f3fee15d7dbce9nd are upgrading from version 2.0, you should also consult the <a
22d5d84393d960a2027f472036f3fee15d7dbce9nd href="http://httpd.apache.org/docs/2.2/upgrading.html">2.0 to 2.2
22d5d84393d960a2027f472036f3fee15d7dbce9nd upgrading document.</a></p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd</summary>
22d5d84393d960a2027f472036f3fee15d7dbce9nd<seealso><a href="new_features_2_4.html">Overview of new features in
22d5d84393d960a2027f472036f3fee15d7dbce9nd Apache HTTP Server 2.4</a></seealso>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="compile-time">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Compile-Time Configuration Changes</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>The compilation process is very similar to the one used in
22d5d84393d960a2027f472036f3fee15d7dbce9nd version 2.2. Your old <code>configure</code> command line (as
6a40b378ef57ef1dbc193c1afd600fa591d65ac9pctony found in <code>build/config.nice</code> in the installed server
22d5d84393d960a2027f472036f3fee15d7dbce9nd directory) can be used in most cases. There are some changes in
22d5d84393d960a2027f472036f3fee15d7dbce9nd the default settings. Some details of changes:</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>These modules have been removed: mod_authn_default,
22d5d84393d960a2027f472036f3fee15d7dbce9nd mod_authz_default, mod_mem_cache. If you were using
22d5d84393d960a2027f472036f3fee15d7dbce9nd mod_mem_cache in 2.2, look at <module>mod_cache_disk</module> in
22d5d84393d960a2027f472036f3fee15d7dbce9nd 2.4.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>All load balancing implementations have been moved to
22d5d84393d960a2027f472036f3fee15d7dbce9nd individual, self-contained mod_proxy submodules, e.g.
22d5d84393d960a2027f472036f3fee15d7dbce9nd <module>mod_lbmethod_bybusyness</module>. You might need
22d5d84393d960a2027f472036f3fee15d7dbce9nd to build and load any of these that your configuration
22d5d84393d960a2027f472036f3fee15d7dbce9nd uses.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>Platform support has been removed for BeOS, TPF, and
22d5d84393d960a2027f472036f3fee15d7dbce9nd even older platforms such as A/UX, Next, and Tandem. These were
22d5d84393d960a2027f472036f3fee15d7dbce9nd believed to be broken anyway.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>configure: dynamic modules (DSO) are built by default</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>configure: the "most" module set gets built by default</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="run-time">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Run-Time Configuration Changes</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>There have been significant changes in authorization configuration,
22d5d84393d960a2027f472036f3fee15d7dbce9nd and other minor configuration changes, that could require changes to your 2.2
22d5d84393d960a2027f472036f3fee15d7dbce9nd configuration files before using them for 2.4.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="authz">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Authorization</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <p>Any configuration file that uses authorization will likely
22d5d84393d960a2027f472036f3fee15d7dbce9nd need changes.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>You should review the <a href="howto/auth.html">Authentication,
22d5d84393d960a2027f472036f3fee15d7dbce9nd Authorization and Access Control Howto</a>, especially the section
22d5d84393d960a2027f472036f3fee15d7dbce9nd <a href="howto/auth.html#beyond">Beyond just authorization</a>
22d5d84393d960a2027f472036f3fee15d7dbce9nd which explains the new mechanisms for controlling the order in
22d5d84393d960a2027f472036f3fee15d7dbce9nd which the authorization directives are applied.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="access">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Access control</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In 2.2, access control based on client hostname, IP address,
22d5d84393d960a2027f472036f3fee15d7dbce9nd and other characteristics of client requests was done using the
22d5d84393d960a2027f472036f3fee15d7dbce9nd directives <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="mod_access_compat">Order</directive>, <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="mod_access_compat">Allow</directive>, <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="mod_access_compat">Deny</directive>, and <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="mod_access_compat">Satisfy</directive>.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In 2.4, such access control is done in the same way as other
22d5d84393d960a2027f472036f3fee15d7dbce9nd authorization checks, using the new module
22d5d84393d960a2027f472036f3fee15d7dbce9nd <module>mod_authz_host</module>. The old access control idioms
22d5d84393d960a2027f472036f3fee15d7dbce9nd should be replaced by the new authentication mechanisms,
22d5d84393d960a2027f472036f3fee15d7dbce9nd although for compatibility with old configurations, the new
22d5d84393d960a2027f472036f3fee15d7dbce9nd module <module>mod_access_compat</module> is provided.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>Here are some examples of old and new ways to do the same
22d5d84393d960a2027f472036f3fee15d7dbce9nd access control.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In this example, all requests are denied.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.2 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Order deny,allow<br />
22d5d84393d960a2027f472036f3fee15d7dbce9nd Deny from all
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.4 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Require all denied
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In this example, all requests are allowed.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.2 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Order allow,deny<br />
22d5d84393d960a2027f472036f3fee15d7dbce9nd Allow from all
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.4 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Require all granted
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>In the following example, all hosts in the example.org domain
22d5d84393d960a2027f472036f3fee15d7dbce9nd are allowed access; all other hosts are denied access.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.2 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Order Deny,Allow<br />
22d5d84393d960a2027f472036f3fee15d7dbce9nd Deny from all<br />
22d5d84393d960a2027f472036f3fee15d7dbce9nd Allow from example.org
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>2.4 configuration:</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd Require host example.org
22d5d84393d960a2027f472036f3fee15d7dbce9nd </example>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="config">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Other configuration changes</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <p>Some other small adjustments may be necessary for particular
22d5d84393d960a2027f472036f3fee15d7dbce9nd configurations as discussed below.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><directive>MaxRequestsPerChild</directive> has been renamed to
22d5d84393d960a2027f472036f3fee15d7dbce9nd <directive module="mpm_common">MaxConnectionsPerChild</directive>,
22d5d84393d960a2027f472036f3fee15d7dbce9nd which describes more accurately what it does.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>The <directive module="core">DefaultType</directive>
22d5d84393d960a2027f472036f3fee15d7dbce9nd directive no longer has any effect, other than to emit a
22d5d84393d960a2027f472036f3fee15d7dbce9nd warning if it's used with any value other than
22d5d84393d960a2027f472036f3fee15d7dbce9nd <code>none</code>. You need to use other configuration
22d5d84393d960a2027f472036f3fee15d7dbce9nd settings to replace it in 2.4.
22d5d84393d960a2027f472036f3fee15d7dbce9nd </li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><directive module="core">EnableSendfile</directive> now
22d5d84393d960a2027f472036f3fee15d7dbce9nd defaults to Off.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_log_config</module>: <a
22d5d84393d960a2027f472036f3fee15d7dbce9nd href="modules/mod_log_config.html#formats">${cookie}C</a>
22d5d84393d960a2027f472036f3fee15d7dbce9nd matches whole cookie names. Previously any substring would
22d5d84393d960a2027f472036f3fee15d7dbce9nd match.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_dav_fs</module>: The format of the <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="dav_fs">DavLockDB</directive> file has changed for
22d5d84393d960a2027f472036f3fee15d7dbce9nd systems with inodes. The old <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="dav_fs">DavLockDB</directive> file must be deleted on
22d5d84393d960a2027f472036f3fee15d7dbce9nd upgrade.
22d5d84393d960a2027f472036f3fee15d7dbce9nd </li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><directive module="core">KeepAlive</directive> only
22d5d84393d960a2027f472036f3fee15d7dbce9nd accepts values of <code>On</code> or <code>Off</code>.
22d5d84393d960a2027f472036f3fee15d7dbce9nd Previously, any value other than "Off" or "0" was treated as
22d5d84393d960a2027f472036f3fee15d7dbce9nd "On".</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li>Directives AcceptMutex, LockFile, RewriteLock, SSLMutex,
22d5d84393d960a2027f472036f3fee15d7dbce9nd SSLStaplingMutex, and WatchdogMutexPath have been replaced
22d5d84393d960a2027f472036f3fee15d7dbce9nd with a single <directive module="core">Mutex</directive>
22d5d84393d960a2027f472036f3fee15d7dbce9nd directive. You will need to evaluate any use of these removed
22d5d84393d960a2027f472036f3fee15d7dbce9nd directives in your 2.2 configuration to determine if they can
22d5d84393d960a2027f472036f3fee15d7dbce9nd just be deleted or will need to be replaced using <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="core">Mutex</directive>.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_cache</module>: <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="cache">CacheIgnoreURLSessionIdentifiers</directive>
22d5d84393d960a2027f472036f3fee15d7dbce9nd now does an exact match against the query string instead of a
22d5d84393d960a2027f472036f3fee15d7dbce9nd partial match. If your configuration was using partial
22d5d84393d960a2027f472036f3fee15d7dbce9nd strings, e.g. using <code>sessionid</code> to match
22d5d84393d960a2027f472036f3fee15d7dbce9nd <code>/someapplication/image.gif;jsessionid=123456789</code>,
22d5d84393d960a2027f472036f3fee15d7dbce9nd then you will need to change to the full string
22d5d84393d960a2027f472036f3fee15d7dbce9nd <code>jsessionid</code>.
22d5d84393d960a2027f472036f3fee15d7dbce9nd </li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_ldap</module>: <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="ldap">LDAPTrustedClientCert</directive> is now
22d5d84393d960a2027f472036f3fee15d7dbce9nd consistently a per-directory setting only. If you use this
22d5d84393d960a2027f472036f3fee15d7dbce9nd directive, review your configuration to make sure it is
22d5d84393d960a2027f472036f3fee15d7dbce9nd present in all the necessary directory contexts.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_filter</module>: <directive
22d5d84393d960a2027f472036f3fee15d7dbce9nd module="filter">FilterProvider</directive> syntax has changed and
22d5d84393d960a2027f472036f3fee15d7dbce9nd now uses a boolean expression to determine if a filter is applied.
22d5d84393d960a2027f472036f3fee15d7dbce9nd </li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <section id="misc">
22d5d84393d960a2027f472036f3fee15d7dbce9nd <title>Misc Changes</title>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
22d5d84393d960a2027f472036f3fee15d7dbce9nd <ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><module>mod_auto_index</module>: will now extract titles and
22d5d84393d960a2027f472036f3fee15d7dbce9nd display descriptions for .xhtml files, which were previously
22d5d84393d960a2027f472036f3fee15d7dbce9nd ignored.</li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <li><program>htpasswd</program> now uses MD5 hash by default on
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper all platforms.</li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <li>The <directive module="core">NameVirtualHost</directive>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper directive no longer has any effect, other than to emit a
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper warning. Any address/port combination appearing in multiple
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper virtual hosts is implicitly treated as a name-based virtual host.
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </ul>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </section>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <section id="third-party">
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <title>Third Party Modules</title>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <p>All modules must be recompiled for 2.4 before being loaded.</p>
22d5d84393d960a2027f472036f3fee15d7dbce9nd
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <p>Many third-party modules designed for version 2.2 will
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper otherwise work unchanged with the Apache HTTP Server version 2.4.
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper Some will require changes; see the <a href="developer/new_api_2_4.html">API
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper update</a> overview.</p>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </section>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <section id="commonproblems">
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <title>Common problems when upgrading</title>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <ul><li>Startup errors:
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <ul>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <li><code>Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration</code> - load module <module>mod_unixd</module></li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><code>Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration</code>, or
22d5d84393d960a2027f472036f3fee15d7dbce9nd<code>Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration</code>
4a722595d257823989ee97dc1b6facd240f9e161slive - load module <module>mod_access_compat</module>, or update configuration to 2.4 authorization directives.</li>
22d5d84393d960a2027f472036f3fee15d7dbce9nd <li><code>Ignoring deprecated use of DefaultType in line NN of /path/to/httpd.conf</code> - remove <directive module="core">DefaultType</directive>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper and replace with other configuration settings.</li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </ul></li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <li>Errors serving requests:
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <ul>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper <li><code>configuration error: couldn't check user: /path</code> -
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper load module <module>mod_authn_core</module>.</li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </ul>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper </li>
b57e88079429c92f4de900e6ac0b27fc3d234b97pepper</ul>
22d5d84393d960a2027f472036f3fee15d7dbce9nd </section>
4a722595d257823989ee97dc1b6facd240f9e161slive</manualpage>
22d5d84393d960a2027f472036f3fee15d7dbce9nd