Installation guide
Chapter 13.
Apache Configuration
The Apache Configuration Tool allows you to configure the /etc/httpd/conf/httpd.conf
configuration file for your Apache Web server. It does not use the old srm.conf or ac-
cess.conf configuration files; leave them empty. Through the graphical interface, you can
configure Apache 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 Apache Con-
figuration Tool. If additional modules are installed, they can not be configured using this
tool.
The Apache Configuration Tool requires the X Window System and root access. To start the
Apache Configuration Tool, use one of the following methods:
• On the GNOME desktop, go to the Main Menu Button (on the Panel) => Programs =>
System => Apache Configuration.
• On the KDE desktop, go to the Main Menu Button (on the Panel) => System => Apache
Configuration.
• Type the command apacheconf at a shell prompt (for example, in an XTerm or GNOME-
terminal).
Caution
Do not edit the /etc/httpd/conf/httpd.conf Apache configuration file if you wish to use this tool.
Apache 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 Apache Con-
figuration Tool, you cannot use this tool.
The general steps for configuring the Apache Web Server using the Apache Configuration
Tool are as following:
1. Configure the basic settings under the Main tab.
2. Click on the Virtual Hosts tab and configure the default settings.
3. Under the Virtual Hosts tab, configure the Default Virtual Host.
4. If you want to serve more than one URL or virtual host, add the additional virtual
hosts.
5. Configure the server settings under the Server tab.
6. Configure the connections settings under the Performance Tuning tab.
7. Copy all necessary files to the DocumentRoot and cgi-bin directories, and save your
settings in the Apache Configuration Tool.
13.1. Basic Settings
Use the Main tab to configure the basic server settings.