From b23b7bf5009e2503cc8c46f2dffd7a40fede721f Mon Sep 17 00:00:00 2001
From: "William A. Rowe Jr" 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.
First, unpack the Apache distribution into an appropriate directory. Open a command-line prompt, and change to the @@ -37,26 +39,27 @@
nmake /f Makefile.win _apached
(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.
Apache can also be compiled using VC++'s Visual Studio development
- environment. Although compiling Apache in this manner is not as
- simple, it makes it possible to easily modify the Apache source, or
- to compile Apache if the command-line tools are not installed.
- 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:
+ environment. To simplify this process, a Visual Studio workspace,
+ Apache.dsw, is provided in the src folder. This workspace exposes
+ the entire list of working .dsp projects that are required for the
+ complete Apache binary release. It includes dependencies between
+ the projects to assure that they are built in the appropriate order.
regex\regex.dsp
lib\apr\aprlib.dsp
+ lib\apr\aprlibdll.dsp requires aprlib
+ lib\pcre\dftables.dsp
+ lib\pcre\pcre.dsp requires dftables
+ lib\pcre\pcreposix.dsp requires dftables and pcre
+ lib\expat-lite\xmltok.dsp
+ lib\expat-lite\xmlparse.dsp requires xmltok
ap\ap.dsp
main\gen_uri_delims.dsp
main\gen_test_char.dsp
- ApacheCore.dsp
- Apache.dsp
+ ApacheCore.dsp requires all of the above
+ Apache.dsp requires ApacheCore and aprlibdll
os\win32
subdirectory contains
@@ -64,22 +67,25 @@
os\win32\ApacheModuleAuthAnon.dsp
+ os\win32\ApacheModuleAuthDigest.dsp
os\win32\ApacheModuleCERNMeta.dsp
- os\win32\ApacheModuleDigest.dsp
os\win32\ApacheModuleExpires.dsp
+ os\win32\ApacheModuleFileCache.dsp
os\win32\ApacheModuleHeaders.dsp
os\win32\ApacheModuleInfo.dsp
os\win32\ApacheModuleRewrite.dsp
os\win32\ApacheModuleSpeling.dsp
os\win32\ApacheModuleStatus.dsp
os\win32\ApacheModuleUserTrack.dsp
+ modules\proxy\ApacheModuleProxy.dsp
support\
folder contains project files for additional
programs that are not part of the apache runtime, but are used by
- the administrator to maintain password and log files.
+ the administrator to test Apache and maintain password and log files.
support\ab.dsp
support\htdigest.dsp
support\htpasswd.dsp
support\logresolve.dsp
@@ -100,8 +106,8 @@
(for debug build)
- The dir argument to INSTDIR gives the installation directory; it can
- be omitted if Apache is to be installed into \Apache.
+ The dir argument to INSTDIR gives the installation directory; it
+ can be omitted if Apache is to be installed into \Apache.
This will install the following:
@@ -109,9 +115,9 @@dir\Apache.exe
- Apache executable
dir\aprlib.dll
- Apache Portable Runtime shared library
dir\ApacheCore.dll
- Apache Core application
- dir\modules\ApacheModule*.dll
- Optional Apache
- modules (7 files)
- dir\support\*.exe
- Administrator support executables
+ dir\modules\ApacheModule*.dll
- Loadable Apache
+ modules
+ dir\bin\*.exe
- Administrator support executables
dir\conf
- Empty configuration directory
dir\logs
- Empty logging directory
@@ -126,7 +132,7 @@
src/Apache.dsw
- This assures that lower-level sources are rebuilt from within
+This assures that lower-level sources are rebuilt from within VisualStudio. The top level project is InstallBin, which invokes Makefile.win to move the compiled executables and dlls. You may personalize the INSTDIR= setting by changing the Settings for diff --git a/docs/manual/platform/windows.html b/docs/manual/platform/windows.html index 46143694b7..5e74482e40 100644 --- a/docs/manual/platform/windows.html +++ b/docs/manual/platform/windows.html @@ -217,6 +217,14 @@ There are two ways you can run Apache: service for Apache, first attempt to start it from the command line to assure that the service starts with no errors.
+Because Apache
Apache is configured by files in the conf @@ -276,7 +284,8 @@ There are two ways you can run Apache:
Apache can also load ISAPI Extensions (i.e., Internet Server
Applications), such as those used by Microsoft's IIS, and other
Windows servers. More information
- is available.
+ is available. Note that Apache
- Note: This option is only available with Apache 1.3.3 and - later. For earlier versions, you need to use Control-C in the - Apache console window to shut down the server. --
This should be used instead of pressing Control-C in the running Apache console window, because it lets Apache end any current transactions and cleanup gracefully.
@@ -486,12 +489,6 @@ There are two ways you can run Apache: apache -k restart -- Note: This option is only available with Apache 1.3.3 and - later. For earlier versions, you need to use Control-C in the - Apache console window to shut down the server. --
Note for people familiar with the Unix version of Apache: these
commands provide a Windows equivalent to kill -TERM
pid
and kill -USR1 pid
. The command
--
2.50.1