From: Daniel Gruno The primary Windows platform for running Apache 2.5 is Windows
- 2000 or later. The binary installer only works with the x86 family
- of processors, such as Intel and AMD processors. Always obtain and
+ 2000 or later. Always obtain and
install the current service pack to avoid operating system bugs. Information on the latest versions of Apache can be found on the
- web site of the Apache web server at
- http://httpd.apache.org/download.cgi.
- There you will find the current release, as well as more recent alpha
- or beta test versions, and a list of HTTP and FTP mirrors from which
- you can download the Apache web server. Please use a mirror near to
- you for a fast and reliable download. For Windows installations you should download the version of
- Apache for Windows with the There is a choice between an *-openssl-*.msi flavor and
- a *-no_ssl.msi flavor. The *-openssl-*.msi flavor is distributed
- by the Apache Software Foundation under ECCN 5D002 pursuant to
- US Export Law license exception TSU. This law may or may not
- apply to your circumstance, please review the httpd README as
- well as the ASF
- Export Classifications and Source Links page. The project
- provides no further guidance to third parties in resolving the
- legal circumstances which apply in each circumstance. The Apache Software Foundation itself does not provide binary releases of
+ software, only source code. If you cannot compile the Apache HTTP Server
+ yourself, you can obtain a binary package on numerous sites specialized
+ in providing compiled versions of the Apache server for Windows. You need Microsoft Installer 2.0 or above for the installation
- to work. For Windows NT 4.0 and 2000 refer to Microsoft's article
- KB 292539.
- Windows XP and later do not require this update. Note that you cannot install two versions of Apache 2.&httpd.minor; on the
- same computer with the binary installer. You can, however, install
- a version of the 1.3 series and a version of the
- 2.&httpd.minor; series on the same computer without problems. If you need to
- have two different 2.&httpd.minor; versions on the same computer, you have to
- compile and install Apache from the
- source. Run the Apache Network Domain. Enter the DNS domain in which
- your server is or will be registered in. For example, if your
- server's full DNS name is Server Name. Your server's full DNS name.
- From the example above, you would type Administrator's Email Address. Enter the
- server administrator's or webmaster's email address here. This
- address will be displayed along with error messages to the client
- by default. For whom to install Apache Select The installation type. Select Where to install. The default path is
- During the installation, Apache will configure the files in the
- Also, if you already have a file called After installing Apache, you must edit the configuration files
- in the One feature of the installer, "Build Headers and Libraries", can be
- ignored by most users, but should be installed if compiling third party
- modules. The "APR Iconv Code Pages" can similarly be omitted by most
- users, unless using There are requests to ship a .zip file from time to time. There is
- no point in the ASF consuming additional storage, mirroring and bandwidth
- for this purpose, because the .msi installer allows the installation
- artifacts to all be unpacked using the The installation options above can be customized by users familiar
- with msiexec.exe options and silent installation. The actual installer
- sources are available in the httpd/httpd/win32-msi/ tree of the httpd
- project subversion respository. For reference, some of the more common
- variables which may be modified are; The installation level of various features, which may be individually
- toggled, include; You can install Apache as a service automatically during the
- installation. If you chose to install for all users, the
- installation will create an Apache service for you. If you specify
- to install for yourself only, you can manually register Apache as a
- service after the installation. You have to be a member of the
- Administrators group for the service installation to succeed. Apache comes with a utility called the Apache Service Monitor.
With it you can see and manage the state of all installed Apache
services on any machine on your network. To be able to manage an
@@ -587,8 +421,9 @@ RewriteRule (.*) ${lowercase:$1} [R,L]
Programs. Change to the folder to which you installed Apache, type
the command .msi
extension. This is a
- single Microsoft Installer file, which contains a ready-to-run
- build of Apache. There is a separate .zip
file,
- which contains only the source code, see the summary above..msi
file you downloaded above. The
- installation will ask you for these things:
-
-
- server.example.net
, you would
- type example.net
here.server.example.net
- here.for
- All Users, on Port 80, as a Service - Recommended
if you'd
- like your new Apache to listen at port 80 for incoming traffic.
- It will run as a service (that is, Apache will run even if no one
- is logged in on the server at the moment) Select only for
- the Current User, on Port 8080, when started Manually
if
- you'd like to install Apache for your personal experimenting or
- if you already have another WWW server running on port 80.Typical
- for everything except the source code and libraries for module
- development. With Custom
you can specify what to
- install. A full install will require about 13 megabytes of free
- disk space. This does not include the size of your web
- site(s).C:\Program Files\Apache Software Foundation
- under which a directory called
- Apache2.3
will be created by default.conf
subdirectory to reflect the chosen installation
- directory. However, if any of the configuration files in this
- directory already exist, they will not be overwritten. Instead, the
- new copy of the corresponding file will be left with the extension
- .default
. So, for example, if conf\httpd.conf
- already exists, it will be renamed as conf\httpd.conf.default
.
- After the installation you should manually check to see what new
- settings are in the .default
file, and if necessary,
- update your existing configuration file.htdocs\index.html
,
- it will not be overwritten (and no index.html.default
- will be installed either). This means it should be safe to install
- Apache over an existing installation, although you would have to
- stop the existing running server before doing the installation, and
- then start the new one after the installation is finished.conf
subdirectory as required. These files
- will be configured during the installation so that Apache is ready
- to be run from the directory it was installed into, with the
- documents server from the subdirectory htdocs
. There
- are lots of other options which you should set before you really
- start using Apache. However, to get started quickly, the files
- should work as installed.msiexec /a
network
- installation option. Using this command against any .msi will result
- in an exploded tree of all of the individual files and components.
-
-
- AgreeToLicense
(toggle to "Yes")ALLUSERS
(choose between Null and "1")ApplicationUsers
(toggle to "OnlyCurrentUser")EXISTING_APACHE_SERVICE_PATH
INSTALLDIR
(default "ProgramFilesFolder\Apache Software Foundation\Apache&httpd.major;.&httpd.minor;\")INSTALLLEVEL
(default "100", refer to list below)RESOLVED_WINSOCK2
(toggle to "1")SERVERADMIN
SERVERDOMAIN
SERVERNAME
SERVERPORT
(default "80")SERVERSSLPORT
(default "443")SERVICEINTERNALNAME
(default "Apache&httpd.major;.&httpd.minor;", no spaces!)SERVICENAME
(default "Apache&httpd.major;.&httpd.minor;", include spaces)SetupType
(default "Typical")
-
-
-
- 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:C:\Program Files\Apache Software Foundation\Apache2.&httpd.minor;\
,
+ you can do the following:
HTTPD_ROOT
.
- During the installation, a version-specific registry key is
- created in the Windows registry. The location of this key depends
- on the type of the installation. If you chose to install Apache
- for all users, the key is located under the
- HKEY_LOCAL_MACHINE
hive, like this (the version
- numbers will of course vary between different versions of Apache:
-
Correspondingly, if you chose to install Apache for the current
- user only, the key is located under the HKEY_CURRENT_USER
- hive, the contents of which are dependent of the user currently
- logged on:
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 in the same - directory as another version.
-If you did not do a binary install, Apache will in some scenarios complain about the missing registry key. This warning can be ignored if the server was otherwise able to find its