The Apache HTTP Server has been updated to version 2.0, and the package has been renamed httpd. The configuration options have changed. If you want to migrate an existing configuration file by hand, refer to the migration guide at /usr/share/doc/httpd-<ver>/migration.html or the Official Red Hat Linux Reference Guide for details.
If you configured the Apache HTTP Server with the Red Hat HTTP Configuration Tool in previous versions of Red Hat Linux and then performed an upgrade, you can use it the application to migrate the configuration file to the new format for version 2.0. Start the Red Hat HTTP Configuration Tool, make any changes to the configuration, and save it. The configuration file saved will be compatible with version 2.0.
The Red Hat HTTP Configuration Tool allows you to configure the /etc/httpd/conf/httpd.conf configuration file for the Apache HTTP Server. It does not use the old srm.conf or access.conf configuration files; leave them empty. Through the graphical interface, you can configure directives such as virtual hosts, logging attributes, and maximum number of connections.
Only modules that are shipped with Red Hat Linux can be configured with Red Hat HTTP Configuration Tool. If additional modules are installed, they can not be configured using this tool.
The Red Hat HTTP Configuration Tool requires the X Window System and root access. To start the application, go to the Main Menu Button => Server Settings => HTTP Server or type the command redhat-config-httpd at a shell prompt (for example, in an XTerm or GNOME Terminal).
![]() | Caution |
|---|---|
Do not edit the /etc/httpd/conf/httpd.conf configuration file by hand if you wish to use this tool. Red Hat HTTP Configuration Tool generates this file after you save your changes and exit the program. If you want to add additional modules or configuration options that are not available in Red Hat HTTP Configuration Tool, you cannot use this tool. |
The general steps for configuring the Apache HTTP Server using the Red Hat HTTP Configuration Tool are as following:
Configure the basic settings under the Main tab.
Click on the Virtual Hosts tab and configure the default settings.
Under the Virtual Hosts tab, configure the Default Virtual Host.
If you want to serve more than one URL or virtual host, add the additional virtual hosts.
Configure the server settings under the Server tab.
Configure the connections settings under the Performance Tuning tab.
Copy all necessary files to the DocumentRoot and cgi-bin directories, and save your settings in the Red Hat HTTP Configuration Tool.