Httpd DocumentRoot: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:


<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.
<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"
...