Apache Server on MS Windows
Using Apache HTTP Server 2.2 on Microsoft Windows Server 2003/2008.
1. Download Win32 Binary and Install
httpd-2.2.21-win32-x86-openssl-0.9.8r.msi
Enter DNS and Server Name
Select for All Users on Port 80, as a Service.
Depault path is:
C:\Program Files (x86)\Apache Software Foundation\Apache2.2
During the installation, Apache will configure the httpd.conf
A test html file is created and it’s located in the default “DocumentRoot”
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\index.html
2. To Change the DocumentRoot, edit httpd.conf in the conf folder.
Change the path, for example C:\wwwApache
DocumentRoot “C:/wwwApache“
Note: the backslash is replaced by forward slash
Also edit the Directory <Directory “C:/wwwApache”>
3. Copy the index.html to c:\wwwRoot
4. Restart the Apache Server
5. Test the installation using a web browser:
http://localhost/
It should display “It Works“