|
APACHE This section describes how to bring up an Apache HTTP server. According to Netcraft, Apache has been the most popular HTTP server for quite some time. This is understandable since it, like the other servers described here, is "as free as a free kitten", runs under any flavor of Unix, is very extensible, and is just about as robust a server you will find anywhere. As of version 1.3b, Apache now also runs under Windows95 and NT. It will also be ported to Rhapsody (Macintosh) when that operating system becomes available this year. Consequently, Apache represents a good, all-around HTTP server. One that you can/will be able to take to just about any computer. Apache, based on the original NCSA httpd application, got its name from when its developers where trying to break httpd down into its original parts. Thus, it was "a patchy server." There are two alternatives for acquiring the Apache software. One, you can download a precompiled binary for your particular version of Unix or Windows. Or two, you can download Apache's source code and compile it yourself. This section outlines the second option for Unix since it offers you greater flexibility. |
COMPILING |
Compiling our own version of Apache is a 4-step process:
Begin by downloading the archive from www.apache.org. If you are adventurous, then download the latest beta version. Otherwise grab the version without any b's listed in its name. (Notice how small the archives are. They could easily fit on a single floppy disk!) Next, uncompress and untar the downloaded file with gunzip and tar. This should result in a directory named apache_1.2.5 or something similar.
Change directories to the
Next, enter the |
CONFIGURATION |
Configuring the Apache server requires the following steps:
Copy your newly created Apache server application up one directory out of the
Change to the
Next,
You are more than half way there. Keep editing!
The final configuration requires you to edit
The
If you compiled your httpd binary with |
WINDOWS |
Installing and configuring the Windows95/NT version of Apache includes two options. First, you can download the source code and compile it. This requires a Microsoft C++ compiler. Alternatively, you can download a pre-compiled version of the application. If you own the compiler, then you don't need any instructions. Otherwise, download the pre-compiled version. Whether you have downloaded the source code or the pre-compiled version, you will want to edit the *.conf files just as above. |
STARTING UP |
It is now time to actually start up your server. Move up one directory and run the httpd application with At this point your are either overjoyed or overwhelmed. Those of you who are overjoyed should now go back to your configurations to make more specific modifications. Those of you who are overwhelmed are encouraged to visit news:comp.infosystems.www.servers.unix and try to get some assistance there. Carefully worded questions will get responses. |
Version: 1.5
Last updated: 2004/12/23. See the release notes.
Author: Eric Lease Morgan (eric_morgan@infomotions.com)
URL: http://infomotions.com/musings/waves/