Note: Below is the original readme file from the CD that came with "Apache: The Definitive Guide, 2nd Edition". The two files in this directory, install.tar.gz and sites.tar.gz, contain the two directories, install/ and sites/, from the CD. To obtain the contents of distributions/ and unpacked/, go to http://www.apache.org/ ========================================================================= Installing the sample sites used in the book -------------------------------------------- Unix ---- 1. Create a user and group for the webserver to run as. 2. Log in as the user who will own the installed sites. 3. Copy install/install.conf from the CD and edit it to match your setup. Specifically, define SITES to point to the full path of the target directory you wish to install the sample sites to. This directory should be one that does not yet exist; the install procedure will create it for you. 4. cd to the root of the CD. 5. Run "install/install /wherever/you/put/your/install.conf". Note that this must be the the full path of your install.conf file, including the filename, NOT just the directory you copied it to. Windows ------- IMPORTANT: For the Windows installation, you must use Unix-style file and directory names; this means you must use forward slashes ("/") and you must specify drive letters with forward slashes as well (//c/ and NOT c:\). 1. Install Cygwin... 1a. Read distributions/cygwin-b20/readme.txt 1b. Run either distributions/cygwin-b20/user.exe or distributions/cygwin-b20/full.exe depending on what you want installed. 2. Run a Unix shell (e.g. c:\cygnus\cygnus.bat). 3. Copy install/installwin.conf from the CD and edit it to match your setup. Specifically, define SITES to point to the full path of the target directory you wish to install the sample sites to. This directory should be one that does not yet exist; the install procedure will create it for you. 4. cd to the root of the CD. 5. Run "sh install/install /whereever/you/put/your/installwin.conf". Note that this must be the the full path of your installwin.conf file, including the filename, NOT just the directory you copied it to. Contents of the CD ------------------ distributions/ apache_1.3.3.tar.gz Apache 1.3.3 Unix distribution apache_1_3_3.exe Apache 1.3.3 Window distribution cygwin-b20/ Cygwin - Unix utilities for Windows readme.txt Read this first! user.exe The "user" distribution (smaller) full.exe The full distribution install/ Scripts to install the sites used in the book install Run this to install the sites install.conf Configuration file for install installwin.conf Windows version of the configuration sites/ The sites used in the book unpacked/ Unpacked distributions apache_1.3.3 Apache unpacked, with mod_reveal added