Name
DocumentRoot
Synopsis
DocumentRoot
directory_path
Description
[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/
(All)
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.