From ef7ae6710a9431e9faf3148619dd220b7ef179b8 Mon Sep 17 00:00:00 2001
From: Bill Stoddard This document explains how to install, configure and run
- Apache 1.3 under Microsoft Windows. Please note that at
- this time, Windows support is entirely experimental, and is
- recommended only for experienced users. The Apache Group does not
- guarantee that this software will work as documented, or even at
- all. If you find any bugs, or wish to contribute in other ways, please
- use our bug reporting
- page. Warning: Apache on NT has not yet been optimized for performance.
-Apache still performs best, and is most reliable on Unix platforms. Over
-time we will improve NT performance. Folks doing comparative reviews
-of webserver performance are asked to compare against Apache
-on a Unix platform such as Solaris, FreeBSD, or Linux.Using Apache With Microsoft Windows
@@ -57,30 +47,23 @@ to help with development, or to track down bugs), see the section on
-If running on Windows 95, using the "Winsock2" upgrade is recommended -but may not be necessary. If running on NT 4.0, installing Service Pack 2 -is recommended. +If running on Windows 95, using the "Winsock2" upgrade is REQUIRED. "Winsock 2" +for Windows 95 is available here. +If running on NT 4.0, installing Service Pack 2 is recommended.
- -Note: "Winsock 2" is required for Apache 1.3.7 and later. - -
- -"Winsock 2" for Windows 95 is available here. -
Information on the latest version of Apache can be found on the Apache web server at http://www.apache.org/. This will +HREF="http://www.apache.org/httpd">http://www.apache.org/httpd. This will list the current release, any more recent alpha or beta-test releases, together with details of mirror web and anonymous ftp sites.
@@ -251,6 +234,11 @@ The main differences in Apache for Windows are: this is set, it is recommended that a very high number is used. The recommended default,MaxRequestsPerChild
0, does not cause the process to ever exit.
+
+ Warning: The server configuration file is reread when the
+ new child process is started. If you have modified httpd.conf,
+ the new child may not start or you may receive unexpected results.
+
ThreadsPerChild -
This directive is new, and tells the server how many threads it
should use. This is the maximum number of connections the server
@@ -474,8 +462,8 @@ line option used, -k, was chosen as a reminder of the
Compiling Apache requires Microsoft Visual C++ 5.0 to be properly - installed. It is easiest to compile with the command-line tools +
Compiling Apache requires Microsoft Visual C++ 5.0 (or later) to be + properly installed. It is easiest to compile with the command-line tools (nmake, etc...). Consult the VC++ manual to determine how to install them.
@@ -484,17 +472,11 @@ line option used,-k, was chosen as a reminder of the
src subdirectory of the Apache distribution.
The master Apache makefile instructions are contained in the
- Makefile.nt file. To compile Apache on Windows NT, simply
+ Makefile.win file. To compile Apache on Windows, simply
use one of the following commands:
nmake /f Makefile.nt _apacher (release build)
-nmake /f Makefile.nt _apached (debug build)
-(1.3.4 and later) To compile Apache on Windows 95, use one of -
nmake /f Makefile_win32.txt (release build)
-nmake /f Makefile_win32_debug.txt (debug build)
+nmake /f Makefile.win _apacher (release build)
+nmake /f Makefile.win _apached (debug build)
These will both compile Apache. The latter will include debugging
@@ -508,7 +490,7 @@ line option used, -k, was chosen as a reminder of the
Project files (.DSP) are included for each of the
portions of Apache. To build Apache from the these projects files
you will need to build the following projects in this order:
-
+ This needs updating for Apache 2.0
os\win32\ApacheOS.dsp
regex\regex.dsp
@@ -529,16 +511,9 @@ line option used, -k, was chosen as a reminder of the
To install the files into the \Apache directory
automatically, use one the following nmake commands (see above):
nmake /f Makefile.nt installr INSTDIR=dir
- (for release build)
-nmake /f Makefile.nt installd INSTDIR=dir
- (for debug build)
-nmake /f Makefile_win32.txt install INSTDIR=dir
+nmake /f Makefile.win installr INSTDIR=dir
(for release build)
-nmake /f Makefile_win32_debug.txt install INSTDIR=dir
+nmake /f Makefile.win installd INSTDIR=dir
(for debug build)