upgrading.xml revision a55680cd56cecad4f2d7d41b576aa63f0e008916
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai<!-- $LastChangedRevision$ -->
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai Licensed to the Apache Software Foundation (ASF) under one or more
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai contributor license agreements. See the NOTICE file distributed with
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai this work for additional information regarding copyright ownership.
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai The ASF licenses this file to You under the Apache License, Version 2.0
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai (the "License"); you may not use this file except in compliance with
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai the License. You may obtain a copy of the License at
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai Unless required by applicable law or agreed to in writing, software
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai distributed under the License is distributed on an "AS IS" BASIS,
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai See the License for the specific language governing permissions and
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai limitations under the License.
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <p>In order to assist folks upgrading, we maintain a document
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai describing information critical to existing Apache HTTP Server users. These
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai are intended to be brief notes, and you should be able to find
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai more information in either the <a
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai href="new_features_2_4.html">New Features</a> document, or in
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai the <code>src/CHANGES</code> file. Application and module developers
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai can find a summary of API changes in the <a href="developer/new_api_2_4.html"
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <p>This document describes changes in server behavior that might
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai require you to change your configuration or how you use the server
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai in order to continue using 2.4 as you are currently using 2.2.
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai To take advantage of new features in 2.4, see the New Features
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai document.</p>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <p>This document describes only the changes from 2.2 to 2.4. If you
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai are upgrading from version 2.0, you should also consult the <a
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai href="http://httpd.apache.org/docs/2.2/upgrading.html">2.0 to 2.2
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai<seealso><a href="new_features_2_4.html">Overview of new features in
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <title>Compile-Time Configuration Changes</title>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <p>The compilation process is very similar to the one used in
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai version 2.2. Your old <code>configure</code> command line (as
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai found in <code>build/config.nice</code> in the installed server
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai directory) can be used in most cases. There are some changes in
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai the default settings. Some details of changes:</p>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>These modules have been removed: mod_authn_default,
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai mod_authz_default, mod_mem_cache. If you were using
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai mod_mem_cache in 2.2, look at <module>mod_cache_disk</module> in
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>All load balancing implementations have been moved to
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai individual, self-contained mod_proxy submodules, e.g.
829545a6bc03a4ec90be779dfdba3815f6454311Satyen Desai <module>mod_lbmethod_bybusyness</module>. You might need
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai to build and load any of these that your configuration
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>Platform support has been removed for BeOS, TPF, and
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai even older platforms such as A/UX, Next, and Tandem. These were
829545a6bc03a4ec90be779dfdba3815f6454311Satyen Desai believed to be broken anyway.</li>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>configure: dynamic modules (DSO) are built by default</li>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>configure: By default, only a basic set of modules is loaded. The
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai other <directive>LoadModule</directive> directives are commented
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>configure: the "most" module set gets built by default</li>
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai <li>configure: the "reallyall" module set adds developer modules
02116a8536c9212761e6bf4c29521c9e8af4988eSatyen Desai to the "all" set</li>
Allow from example.org
Require host example.org
<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>
<li><code>Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration</code>, or
<code>Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration</code>
- load module <module>mod_access_compat</module>, or update configuration to 2.4 authorization directives.</li>
<li><code>Ignoring deprecated use of DefaultType in line NN of /path/to/httpd.conf</code> - remove <directive module="core">DefaultType</directive>