Installing Apache HTTP Server 1.3.20 on Windows
The steps in this section cover instructions for the following tasks:
Obtaining Apache HTTP Server 1.3.20
You can obtain Apache HTTP Server by downloading files from
the Apache Software Foundation Web site,
http://www.apache.org.
Apache HTTP Server is available in source code or binary
distribution. The Apache Software Foundation Web site provides information on the
latest versions of the product and instructions for downloading the product to
your machine.
Installing Apache HTTP Server from downloaded files
Install Apache HTTP Server before installing
WebSphere Application Server. The WebSphere Application Server
installation changes a Web server's configuration so that the
Web server directs certain requests (such as servlet requests) to
WebSphere Application Server. If the Web server is not installed
before WebSphere Application Server, WebSphere Application Server can
function incorrectly.
Perform the steps below to install Apache HTTP Server
from a downloaded .zip file. Note that these instructions assume you have the
WinZip Wizard utility on your system; if you do not, follow instructions on the
Apache Web site to
install the Apache product using a different process:
- Ensure that you are logged into the host machine with administrative privileges.
- Double-click the file you downloaded to activate the
WipZip Wizard utility to unzip the file.
- The WinZip Wizard utility displays the default directory
(C:\Program Files\Apache Group\) to be used as the
installation directory for the product. Click Unzip Now to accept
that location, or click Select a different folder to change
the location of the installation directory.
- The WinZip Wizard utility automatically activates the
Install Wizard utility, which directs you to click Install.
- The License Agreement is displayed. Read the agreement. When you click
the radio button labeled I accept the terms in the license agreement,
the Next button is enabled. Click Next to accept the licensing
agreement.
- The README file is displayed. Click Next after you read the file.
- The Server Information window is displayed. It shows the
Netware Domain, the Server Name, and the
Administrator email Address that is to be used for this installation.
The window displays two options:
Run as a service for all users (Recommended) or
Run when started manually, only for me (user_name)
where user_name is the name associated with the machine's user ID.
Click the option you desire. Click Next to
continue with the installation.
- The Setup Type window is displayed, asking you to choose either
Complete or Custom as the installation type.
Click the option you desire.
Click Next to continue with the installation.
- The Destination Folder window is displayed, showing the default
installation directory (C:\Program Files\Apache Group\).
Click Install to accept that location, or click Change
to choose a different location.
- A message is displayed, indicating that the installation was successful.
Click Finish to continue the installation process.
- You are prompted to choose between restarting
your machine now or restarting it at another time. You must restart your
machine to complete the installation.
- Proceed to "Testing installation of Apache HTTP Server."
Testing installation of Apache HTTP Server
Perform the following steps to verify that the Apache HTTP Server
is installed correctly:
- Click Start -> Programs -> Apache httpd Server -> Control
Apache Server -> Start to start the server. A window is displayed,
indicating that the server is started.
- To connect to the server and access the default page,
start a browser and enter this URL:
http://localhost/
where localhost is the name of the machine
on which the server is installed. A Welcome page is displayed.
If your machine is not connected to a network, use the following URL:
http://127.0.0.1
A window is displayed, reporting that your Apache installation was
successful, and you are instructed to
contact your site administrator for information.
- Proceed to "Configuring Apache HTTP Server" to configure your server installation.
Configuring Apache HTTP Server
Apache is configured in the following file:
drive_letter:\Programs Files\Apache Group\Apache\Conf\httpd.conf
where drive_letter is the letter of the drive on which you installed the product.
See Apache documentation for information on available options.
The httpd.conf file contains default configuration settings.
Read the comments in the httpd.conf file to understand the default settings.
After making a change in the file, start the Apache console to ensure
that the changed configuration is functioning. By incrementally testing the changes, you can
more easily solve problems.
|
|