Ruby on Rails
DocumentRoot

The DocumentRoot of a webserver is the base of the tree in which all of its content may be found—possibly after traversing SymLinks. It corresponds to the shortest URL which will actually get to the site (e.g. <a href="http://myserver.edu/">http://myserver.edu/</a>).

DocumentRoot is also a directive used by the Apache webserver (among others) to set the DocumentRoot.

Contrast with ApplicationRoot.

category: Glossary