Httpd DocumentRoot: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * httpd Configuration#Directives =Overview=")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


=Overview=
=Overview=
<tt>DocumentRoot</tt> represents the directory out of which the web server will serve its document. By default, all requests are taken from this directory, but symbolic links and aliases may be used to point to other locations.
=Example=
<pre>
...
DocumentRoot "/var/www/html"
...
</pre>

Latest revision as of 02:42, 10 January 2016

Internal

Overview

DocumentRoot represents the directory out of which the web server will serve its document. By default, all requests are taken from this directory, but symbolic links and aliases may be used to point to other locations.

Example

...
DocumentRoot "/var/www/html"
...