From: Roy T. Fielding This document explains how to install, configure and run
- Apache 1.3b6 and later under Microsoft Windows. Please note that at
+ 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
@@ -132,19 +132,6 @@ new one after the installation is finished).
-
-
After installing Apache, you should edit the configuration files in
the conf directory as required. These files will be
configured during the install ready for Apache to be run from the
@@ -269,8 +256,8 @@ The main differences in Apache for Windows are:
@@ -295,27 +282,27 @@ Your current working directory when Apache is started up has no
effect on Apache's behavior.
-Under windows, when invoked from the start menu or the Service Manager Apache is
-usually passed no arguments. So using the registry entry is the perfered
+When invoked from the start menu or the Service Manager, Apache is
+usually passed no arguments, so using the registry entry is the preferred
technique.
During a binary installation, a registry key will have
been installed, for example:
This key is compiled into the server and can enable you to test
new versions without affecting the current version. Of course
you must take care not to install the new version on top of the
-old version in the file system. You can not run two invocations
+old version in the file system. You cannot run two invocations
of Apache on Windows simultaneously.
If you did not do a binary install then Apache will in some
-senarios complain that about the missing registry key. This
+scenarios complain that about the missing registry key. This
warning can be ignored if it otherwise was able to find it's
configuration files.
@@ -344,7 +331,7 @@ prevents Apache waiting to see if Apache is running as a service.)
-To install Apache as a Windows NT service as follows:
+You can install Apache as a Windows NT service as follows:
Using Apache With Microsoft Windows
-Important note for 1.3b6 installs: the above only
-applies for 1.3b7 and later. In 1.3b6 the installer would overwrite
-any existing httpd.conf, access.conf,
-srm.conf or mime.types files in the
-conf, and will also overwrite your
-index.html file in the htdocs directory. You
-should copy these files or directories before installing Apache 1.3b6
-or install into a new directory.
-
-
-Running Apache for Windows from the Command Line
-The Start menu icons and the NT Service manager can provide an simple
-interafce for administering Apache. But in some cases it is easier to
+The Start menu icons and the NT Service manager can provide a simple
+interface for administering Apache. But in some cases it is easier to
work from the command line.
- HKEY_LOCAL_MACHINE\Software\Apache Group\Apache\1.3.1\ServerRoot
+ HKEY_LOCAL_MACHINE\Software\Apache Group\Apache\1.3.4\ServerRoot
apache -i
@@ -359,7 +346,7 @@ and to remove the Apache service, use
Signalling Apache when running
-On Windows 95 Apache runs as a console application. You can tell a
+On Windows 95, Apache runs as a console application. You can tell a
running Apache to stop by opening another console window and running
@@ -410,13 +397,19 @@ 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, simply use one of
- the following commands:
+ Makefile.nt
file. To compile Apache on Windows NT, 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)
+These will both compile Apache. The latter will include debugging information in the resulting files, making it easier to find bugs and track down problems.
@@ -454,8 +447,15 @@ line option used,-k
, was chosen as a reminder of the
nmake /f Makefile.nt installd INSTDIR=dir
(for debug build)
+or, for Windows 95 (1.3.4 and later), use one of:
+nmake /f Makefile_win32.txt install INSTDIR=dir
+ (for release build)
+nmake /f Makefile_win32_debug.txt install INSTDIR=dir
+ (for debug build)
+This will install the following: