Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 18.  Apache Configuration

DocumentRoot

DocumentRoot directory_path

[ server config or within <VirtualHost>]

Specifies the root of the server document tree. For example:

DocumentRoot /usr/local/etc/httpd/htdocs/

This specifies that HTML documents for this server will reside in the given directory and its subdirectories. The default is:

DocumentRoot /usr/local/apache/htdocs/


Team-Fly    
Top

Категории