Network Administration: HTTP Configuration Tool Basics

Apache should run fine using the default configuration settings made when you install it. However, you can change various configuration settings either by editing the Apache configuration files or by using the HTTP configuration tool, as shown in the following figure. To start this tool, choose System→Server Settings→Http.

image0.jpg

The Main tab of the HTTP configuration tool provides the basic configuration settings for Apache. Here, you can set the following options:

  • Server Name: This option sets the name that the Apache server will return. If you leave this name blank, Apache will figure out the actual name of the Linux server and return it. So you need to set this option only if you want to use a different name for your Apache server.

  • Webmaster E-Mail Address: This is the e-mail address of the webmaster for this web server.

  • Available Addresses: This list box shows the addresses that Apache will service HTTP requests for. By default, Apache will reply to HTTP requests for any computer that makes the request on port 80, the standard HTTP port. However, you can change the port or restrict access.

Whenever you use the HTTP configuration tool to change Apache’s configuration, you need to restart Apache. You can do so by entering this command from a console prompt:

service httpd restart