Software version:
Apache:apache_2.2.14-win32-x86-no_ssl.msi
1.apache2.2
Select Custom, and then configure the installation directory, the default down, after the installation of Apache. You can test it first,
Browser IP address input 127.0.0.1.
You can see that you are working properly.
To start configuring Apache, in the installation directory ~\apache Software foundation\apache2.2\conf\, edit http.conf file, this is a text file, from the Start menu can also see his configuration.
Program \apache HTTP Server 2.2\configure Apache server\edit the Apache httpd.conf Configuration File.
Configure APACEH Active Directory
Find the keyword DocumentRoot, which is the site root and can be changed to its own directory.
Find directory, configured with the same directory as DocumentRoot, which must be synchronized.
The original text reads as follows:
This should is changed to whatever your set DocumentRoot to.
Find keywords, directoryindex (directory index, that is, the default file name displayed in the case of a directory only), you can add a lot, the system will be based on the order from left to right to display precedence, separated by a single half-width space, For example, some of the site's home page is index.htm, at the cursor where the "index.htm" file name is arbitrary, does not necessarily have to "index.html", such as "test.php" and so on, can be.
The simple configuration of Apache is complete.