25.2. Migrating Apache HTTP Server Configuration Files
25.2.1. Migrating Apache HTTP Server 2.0 Configuration Files
- Configuration files and startup scripts from version 2.0 need minor adjustments particularly in module names which may have changed. Third party modules which worked in version 2.0 can also work in version 2.2 but need to be recompiled before you load them. Key modules that need to be noted are authentication and authorization modules. For each of the modules which has been renamed the
LoadModuleline will need to be updated.
mod_userdirmodule will only act on requests if you provide a
UserDirdirective indicating a directory name. If you wish to maintain the procedures used in version 2.0, add the directive
UserDir public_htmlin your configuration file.
- To enable SSL, edit the
httpd.conffile adding the necessary
apachectl startsslis unavailable in version 2.2. You can view an example of SSL configuration for httpd in
- To test your configuration it is advisable to use
service httpd configtestwhich will detect configuration errors.
SSLand using only
TLSv1.2. Backwards compatibility can be achieved using
TLSv1.0. Many products Red Hat supports have the ability to use
SSLv3protocols, or enable them by default. However, the use of
SSLv3is now strongly recommended against.