Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
| A1: | The first line of /etc/resolv.conf should read “domain foo.bar.com”. The word “domainname” is wrong. Alternately, the line in httpd.conf could be configured to say, “allow from all”. |
| A2: | Filename = http.conf. Directive = DirectoryIndex |
| A3: | System administration tools come with their own Web server because they do not want to make the assumption that a Web server has previously been installed on the target machine. Even if there were an existing Web server, it would be ill-advised to add configuration information to an existing Web site configuration in case it caused disruption to the normal functioning of the current Web server. Having a separate Web server and configuration file provides the convenience of a Web interface and the ease of management of a separate configuration file. |
| A4: | The httpd.conf file uses a directive called DocumentRoot that is the root of all the documents for this particular httpd daemon. |
| A5: | First, Depending on the version of the httpd daemon I was running, I would check that the changes are valid using one of the following:
# apachectl configtest OR: # httpd –t Either command will test the configuration file for syntactical correctness. I would then restart the httpd daemon using the command: # apachectl restart |