From 796353f6313591407c07088047282de9ba87a6eb Mon Sep 17 00:00:00 2001
From: Erik Abele
Where to install. The default path is
- C:\Program Files\Apache Group
under which a directory
- called Apache2
will be created by default.
C:\Program Files\Apache Software Foundation
+ under which a directory called
+ Apache2.3
will be created by default.
During the installation, Apache will configure the files in the @@ -249,7 +250,7 @@
Apache for Windows contains the ability to load modules at
runtime, without recompiling the server. If Apache is compiled
normally, it will install a number of optional modules in the
- \Apache2\modules
directory. To activate these or
+ \Apache2.3\modules
directory. To activate these or
other modules, the new bin
subdirectory:
If you need to specify the name of the service you want to @@ -328,14 +329,14 @@ computer.
If you need to have specifically named configuration files for different services, you must use this:
If you use the first command without any special parameters except @@ -346,13 +347,13 @@
Removing an Apache service is easy. Just use:
The specific Apache service to be uninstalled can be specified by using:
Normal starting, restarting and shutting down of an Apache @@ -363,34 +364,34 @@ service's configuration file by using:
You can control an Apache service by its command line switches, too. To start an installed Apache service you'll use this:
To stop an Apache service via the command line switches, use this:
or
You can also restart a running service and force it to reread its configuration file by using:
By default, all Apache services are registered to run as the @@ -482,7 +483,7 @@ in the background. If you run the command
via a shortcut on your desktop, for example, then if the @@ -530,7 +531,7 @@ use the following command:
Apache will execute, and will remain running until it is stopped @@ -551,7 +552,7 @@ window and entering:
This should be preferred over pressing Control-C because this @@ -562,7 +563,7 @@ complete without interruption. To restart Apache, use:
If the Apache console window closes immediately or unexpectedly
after startup, open the Command Prompt from the Start Menu -->
Programs. Change to the folder to which you installed Apache, type
- the command apache
, and read the error message. Then
+ the command httpd.exe
, and read the error message. Then
change to the logs folder, and review the error.log
file for configuration mistakes. If you accepted the defaults when
you installed Apache, the commands would be:
Then wait for Apache to stop, or press Control-C. Then enter the @@ -602,20 +603,20 @@ a particular configuration file:
or
-n
specifies the installed Apache service
whose configuration file is to be used:
/apache
by default, you can verify it by using
- apache -V
and looking for a value labelled as
+ httpd.exe -V and looking for a value labelled as
HTTPD_ROOT
.Correspondingly, if you chose to install Apache for the current @@ -673,7 +674,7 @@ logged on:
This key is compiled into the server and can enable you to test @@ -728,9 +729,9 @@
If you happen to be running Apache on an alternate port, you need to explicitly put that in the URL:
- +Once your basic installation is working, you should configure it -- 2.40.0