Databases Reference
In-Depth Information
20. In Notepad, open the Apache configuration file, httpd.conf , from the
location that was copied in step 2 as shown in Figure 8-29. You will need
to change the file type to All Files in order to see httpd.conf .
Figure 8-29. Open Apache httpd.conf file
21. The options that you will modify are to tell Apache where to look for the
web files. There are two options that need to be changed to do this. The
first is the DocumentRoot . Change the DocumentRoot from
DocumentRoot "C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/htdocs"
to
DocumentRoot "C:/ www"
where c:/www points to a directory on your local machine. Apache is case-
sensitive, so ensure that the DocumentRoot directory option has the same
case as the directory on your file system. Apache also uses forward slashes
(/) instead of back slashes (\) when referencing directories. Please note
that the original DocumentRoot value may be different depending on you
installation options.
 
Search WWH ::




Custom Search